-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
75 lines (75 loc) · 2.8 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
{
"name": "react-electron-window-menu",
"version": "0.6.2",
"description": ":octocat: React Component that render a menu with 'Electron Menu' in the Windows environment.",
"jsnext:main": "dist/es6/index.js",
"module": "dist/es6/index.js",
"main": "dist/commonjs/index.js",
"scripts": {
"start": "craco start",
"build": "npm run build:common && npm run build:es5 && npm run build:es6",
"prepublish": "npm run build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"publish:patch": "cd src && npm version patch && cd .. && node ./scripts/syncVersion.js && npm run docs",
"publish:minor": "cd src && npm version minor && cd .. && node ./scripts/syncVersion.js && npm run docs",
"build:common": "lessc ./src/react-electron-window-menu/style.less dist/style.css && rimraf ./dist/scss && ncp ./src/react-electron-window-menu/style.less ./dist/style.less && ncp ./src/react-electron-window-menu/less ./dist/less && ncp ./README.md ./dist/README.md",
"build:es5": "rimraf ./dist/commonjs && tsc --p tsconfig.es5.json",
"build:es6": "rimraf ./dist/es6 && tsc --p tsconfig.es6.json",
"docs": "craco build && rimraf ./docs && mv ./build ./docs && ncp ./src/CNAME ./docs/CNAME && ncp ./src/404.html ./docs/404.html && git add -A"
},
"keywords": [],
"author": "[email protected]",
"license": "MIT",
"devDependencies": {
"@ant-design/icons": "^4.1.0",
"@babel/plugin-transform-typescript": "^7.8.7",
"@craco/craco": "^5.6.4",
"@types/node": "^13.9.0",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/react-router": "^5.1.5",
"@types/react-router-dom": "^5.1.4",
"@types/react-syntax-highlighter": "11.0.4",
"@types/styled-components": "^4.4.3",
"antd": "^4.2.2",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"craco-less": "^1.16.0",
"craco-raw-loader": "^1.0.1",
"file-loader": "^5.1.0",
"history": "^4.10.1",
"jsonfile": "^6.0.1",
"less": "^3.11.1",
"less-loader": "^5.0.0",
"ncp": "^2.0.0",
"raw-loader": "^4.0.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-github-button": "^0.1.11",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.3",
"react-syntax-highlighter": "^12.2.1",
"rimraf": "^3.0.2",
"styled-components": "^4.4.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3",
"typescript-styled-plugin": "^0.15.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"react-hot-loader": "^4.13.0"
}
}