-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.16 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.16 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
{
"name": "how-react-works",
"version": "0.1.0",
"description": "How react works",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=development webpack-dev-server --progress --config dist/webpack.config.js",
"build": "cross-env NODE_ENV=production webpack --progress --config dist/webpack.config.js",
"watch": "tsc --watch -p tsconfig.json",
"compile": "tsc -p tsconfig.json",
"compile:webpack": "tsc ./build/webpack.config.ts --outDir dist --esModuleInterop --module commonjs",
"prestart": "npm run compile:webpack",
"prebuild": "npm run compile:webpack",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,scss,sass,md}\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/lbwa/how-react-works.git"
},
"keywords": [
"react.js"
],
"author": "Bowen Liu <asyncmode@outlook.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/lbwa/how-react-works/issues"
},
"homepage": "https://github.com/lbwa/how-react-works#readme",
"dependencies": {
"typescript": "^4.0.2"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@types/node": "^14.10.3",
"@types/webpack": "^4.41.22",
"@types/webpack-dev-server": "^3.11.0",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^7.0.2",
"fork-ts-checker-webpack-plugin": "^5.2.0",
"html-webpack-plugin": "^4.4.1",
"husky": "^4.3.0",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"prettier": {
"endOfLine": "lf",
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 2
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,json,css,scss,sass,md}": [
"prettier --write"
]
}
}