forked from kentcdodds/modern-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "modern-javascript",
"version": "1.0.0",
"description": "The material for learning Modern JavaScript",
"keywords": [],
"homepage": "https://github.com/kentcdodds/modern-javascript",
"license": "GPL-3.0-only",
"engines": {
"node": ">=10",
"npm": ">=6",
"yarn": ">=1"
},
"dependencies": {
"@babel/cli": "^7.6.0",
"@babel/node": "^7.6.1",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/register": "^7.6.0",
"chalk": "^2.4.2",
"chokidar": "^3.0.2",
"create-jest-runner": "^0.5.3",
"cross-spawn": "^7.0.0",
"eslint-import-resolver-jest": "^3.0.0",
"glob": "^7.1.4",
"inquirer": "^7.0.0",
"is-ci": "^2.0.0",
"is-ci-cli": "^1.1.1",
"jest-watch-typeahead": "^0.4.0",
"kcd-scripts": "^1.7.0",
"npm-run-all": "^4.1.5",
"pretty-format": "^24.9.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"replace-in-file": "^4.1.3"
},
"scripts": {
"start": "node ./scripts/codesandbox-page.js",
"quiz": "babel-node scripts/quiz.js",
"test": "kcd-scripts test",
"test:exercise": "kcd-scripts test --config test/jest.config.exercises.js",
"test:exercises:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --config test/jest.config.exercises.js --watchAll --runInBand",
"test:final": "kcd-scripts test --config test/jest.config.final.js --no-watch",
"test:final:watch": "kcd-scripts test --config test/jest.config.final.js",
"test:final:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --config test/jest.config.final.js --watchAll --runInBand",
"format": "kcd-scripts format",
"lint": "kcd-scripts lint",
"setup": "node ./scripts/setup && npm run validate && node ./scripts/autofill-feedback-email.js",
"validate": "kcd-scripts validate lint,test:final"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run validate"
}
},
"lint-staged": {
"*.+(js|json|md)": [
"prettier --write",
"git add"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
}