-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 1.92 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
{
"homepage": "https://daggerok.github.io/react-hooks-typescript-app",
"scripts": {
"clean": "rimraf -rf .cache dist",
"dev": "parcel src/index.html --no-cache",
"prebuild": "npm run clean",
"build": "parcel build src/index.html --no-cache",
"postgh": "ncp ./dist/index.html ./dist/404.html",
"gh": "cross-env NODE_ENV=gh npm run build -- --public-url='/react-hooks-typescript-app/'",
"deploy": "gh-pages -e ./ -d ./dist -s '{*.*,.*,*,**}' --branch gh-pages --dotfiles=true -m \"Github Pages $(date +%Y-%m-%d) deployment\"",
"start": "pm2 start 'npm run dev' --name app",
"restart": "pm2 restart app",
"stop": "pm2 kill",
"logs": "pm2 logs"
},
"name": "react-hooks-typescript-app",
"version": "1.0.0",
"main": "./src/app.js",
"keywords": [
"ts",
"pm2",
"react",
"parcel",
"typescript",
"parcel-bundler"
],
"author": "Maksim Kostromin <[email protected]> (https://github.com/daggerok)",
"license": "MIT",
"description": "React Hooks TypeScript App",
"devDependencies": {
"@babel/preset-typescript": "7.9.0",
"@types/node": "13.9.3",
"@types/reach__router": "1.3.1",
"@types/react": "16.9.25",
"@types/react-dom": "16.9.5",
"babel-core": "6.26.3",
"babel-preset-env": "1.7.0",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"gh-pages": "2.2.0",
"ncp": "2.0.0",
"parcel-bundler": "1.12.4",
"parcel-plugin-html-externals": "0.2.0",
"parcel-plugin-static-files-copy": "2.3.1",
"pm2": "4.2.3",
"sass": "1.26.3",
"typescript": "3.8.3"
},
"dependencies": {
"@reach/router": "1.3.3",
"cross-env": "^7.0.2",
"react": "16.13.1",
"react-dom": "16.13.1"
},
"externals": {
"/ignore/this": false
},
"staticFiles": {
"staticPath": "./src/public",
"watcherGlob": "**"
},
"babel": {
"presets": [
"env",
"react",
"stage-0"
]
}
}