-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
91 lines (91 loc) · 2.5 KB
/
package.json
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "react-dom-lite",
"version": "0.4.0",
"main": "lib/react-dom-lite.js",
"license": "MIT",
"scripts": {
"build:dev": "ROLLUP=1 rollup -c scripts/rollup.config.js",
"build:prod": "ROLLUP=1 NODE_ENV=production rollup -c scripts/rollup.config.js",
"build": "npm run build:dev && npm run build:prod",
"watch": "npm run babel -- --watch",
"examples": "webpack-dev-server --mode development",
"prettier": "prettier --write src/**/*.js",
"precommit": "lint-staged",
"pretest": "npm run flow && eslint src test",
"prepublishOnly": "npm run test && npm run build",
"test": "jest",
"tdd": "jest --watch",
"flow": "flow"
},
"files": [
"lib"
],
"lint-staged": {
"src/**/*.{js}": [
"eslint"
],
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"eslintIgnore": [
"flow-typed"
],
"jest": {
"roots": [
"<rootDir>/src"
],
"setupFiles": [
"./test/setup.js"
],
"setupTestFrameworkScriptFile": "./test/setupTests.js",
"moduleNameMapper": {
"react-dom-lite/test-utils": "<rootDir>/src/test-utils.js",
"react-dom-lite": "<rootDir>/src/index.js"
}
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-external-helpers": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"@babel/preset-flow": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.3.0",
"compression-webpack-plugin": "^3.1.0",
"eslint": "^6.8.0",
"eslint-config-jason": "^7.0.1",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-flow": "^2.29.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-react": "^7.19.0",
"flow-bin": "^0.122.0",
"husky": "^4.2.5",
"jest": "^25.3.0",
"lint-staged": "^10.1.3",
"prettier": "^2.0.4",
"rollup": "^2.6.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-closure-compiler-js": "^1.0.6",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-replace": "^2.2.0",
"sinon": "^9.0.2",
"webpack": "^4.42.1",
"webpack-atoms": "^12.1.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"dependencies": {
"dom-helpers": "^5.1.4",
"global": "^4.4.0",
"invariant": "^2.2.4",
"react": "^16.13.1",
"react-reconciler": "0.25.1",
"warning": "^4.0.3"
}
}