-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.26 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.26 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
{
"name": "react_in_python",
"version": "1.0.0",
"main": "index.js",
"author": "danshai",
"license": "MIT",
"private": true,
"homepage": "https://danshai.github.io/react_in_python",
"parcel-plugin-python": {
"command": "python -m transcrypt",
"arguments": [
"--nomin",
"--map",
"-k",
"-e",
"--verbose"
]
},
"scripts": {
"start": "rm -rf dev; rm -rf src/__target__; NODE_ENV=development parcel --no-cache src/index.html --out-dir dev",
"build": "rm -rf dist; NODE_ENV=production parcel build src/index.html --no-source-maps --out-dir dist --no-cache && cp dist/index.html dist/404.html",
"predeploy": "rm -rf node_modules/gh-pages/.cache; NODE_ENV=production parcel build src/index.html --no-source-maps --out-dir dist --public-url '/react_in_python'",
"deploy": "gh-pages -d dist",
"patch": "./parcel_patch.sh",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"gh-pages": "^3.1.0",
"parcel-bundler": "^1.12.5",
"parcel-plugin-transcrypt": "^1.0.20"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"axios": "^0.21.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.2.0",
"react-number-format": "^4.5.3"
}
}