-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.75 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "algs-play",
"version": "0.0.1",
"keywords": [
"react",
"components"
],
"license": "MIT",
"author": "jinyaoo <[email protected]>",
"main": "dist/index.js",
"scripts": {
"build": "cross-env REACT_APP_ENV=react NODE_ENV=production webpack --config ./webpack/webpack.config.prod.js",
"build2": "npm run build:types && npm run build:js",
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"build:ts": "babel src --out-dir lib --watch",
"build:types": "tsc --emitDeclarationOnly",
"clean": "rm -rf ./dist/",
"demo": "cross-env REACT_APP_ENV=reacthot webpack serve --hot --config ./webpack/webpack.config.demo.js",
"demo:preact": "cross-env REACT_APP_ENV=preacthot webpack serve --hot --config ./webpack/webpack.config.demo.js",
"dev": "",
"format": "prettier \"**/*.{js,jsx,ts,tsx,mjs,json}\" --write",
"format:check": "npm run formatter -- --check",
"help": "echo 'exec npm start to view the demo'",
"lint": "eslint src --ext .ts,.tsx --fix -o eslint-log.log",
"start": "node ./src/algs/sort-testing.mjs",
"start2": "npm run demo:preact",
"storybook": "echo 'start-storybook -p 8999 -c .storybook'",
"test": "cross-env REACT_APP_ENV=react jest --config ./jest.config.js",
"test:preact": "cross-env REACT_APP_ENV=preact jest --config ./jest.config.js",
"type-check": "tsc --noEmit"
},
"husky": {
"hooks": {
"pre-commit": "npm run formatter"
}
},
"browserslist": [
"defaults",
"not IE 11",
"not IE_Mob 11"
],
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.4",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.4",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
"@prefresh/babel-plugin": "^0.4.1",
"@prefresh/webpack": "^3.3.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.0",
"@types/classnames": "^2.3.1",
"@types/jest": "^27.0.2",
"@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9",
"@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.2.2",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^4.0.0",
"core-js": "^3.18.1",
"cross-env": "^7.0.3",
"css-loader": "^6.3.0",
"eslint": "^7.32.0",
"eslint-config-alloy": "^4.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-react": "^7.26.0",
"eslint-plugin-react-hooks": "^4.2.0",
"faker": "^5.5.3",
"global-jsdom": "^8.2.0",
"html-webpack-plugin": "^5.3.2",
"husky": "^7.0.2",
"jest": "^27.2.2",
"jest-preset-preact": "^4.0.5",
"jest-transform-stub": "^2.0.0",
"jsdom": "^17.0.0",
"mini-css-extract-plugin": "^2.3.0",
"node-polyfill-webpack-plugin": "^1.1.4",
"npm-force-resolutions": "^0.0.10",
"preact": "^10.5.14",
"preact-render-to-string": "^5.1.19",
"prettier": "^2.4.1",
"process": "^0.11.10",
"react-refresh": "^0.10.0",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"sass": "^1.42.1",
"sass-loader": "^12.1.0",
"source-map-loader": "^3.0.0",
"source-map-support": "^0.5.20",
"style-loader": "^3.3.0",
"typescript": "^4.4.3",
"webpack": "^5.54.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.3.0",
"webpack-merge": "^5.8.0",
"yargs": "^17.2.1"
}
}