-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.72 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.72 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
{
"name": "react-dom-lite",
"version": "1.0.0",
"main": "lib/index.js",
"license": "MIT",
"scripts": {
"build": "babel src --out-dir lib",
"watch": "npm run babel -- --watch",
"examples": "webpack-dev-server",
"prettier": "prettier --write src/**/*.js",
"precommit": "lint-staged",
"pretest": "npm run flow && eslint src test",
"test": "jest",
"tdd": "jest --watch",
"flow": "flow",
"test:react-dom":
"jest --config ./scripts/jest/config.react-dom-test-suite.js"
},
"lint-staged": {
"src/**/*.{js}": ["eslint"],
"*.{js,json,css,md}": ["prettier --write", "git add"]
},
"jest": {
"roots": ["<rootDir>/src"],
"setupFiles": ["./test/setup.js"],
"moduleNameMapper": {
"react-dom-lite/test-utils": "<rootDir>/src/test-utils.js",
"react-dom-lite": "<rootDir>/src/index.js"
}
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^21.2.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-jason": "^3.1.1",
"eslint": "^4.3.0",
"eslint-config-jason": "^4.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-react": "^7.5.1",
"flow-bin": "^0.61.0",
"husky": "^0.14.3",
"invariant": "^2.2.2",
"jest": "^21.2.1",
"lint-staged": "^6.0.0",
"prettier": "^1.9.1",
"webpack": "^3.10.0",
"webpack-atoms": "^4.1.2",
"webpack-dev-server": "^2.9.7"
},
"dependencies": {
"dom-helpers": "^3.2.1",
"eslint-plugin-flow": "^2.29.1",
"global": "^4.3.2",
"react": "^16.2.0",
"react-devtools": "^3.0.0",
"react-dom": "^16.2.0",
"react-reconciler": "^0.7.0"
}
}