-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.37 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.37 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
{
"name": "parcel-react-example",
"version": "0.0.1",
"main": "index.js",
"license": "MIT",
"dependencies": {
"hammerjs": "2.0.8",
"jquery": "3.2.1",
"materialize-css": "0.100.2",
"react": "16.2.0",
"react-dom": "16.2.0"
},
"devDependencies": {
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"gh-pages": "1.1.0",
"ncp": "2.0.0",
"node-sass": "4.7.2",
"npm-run-all": "4.1.2",
"parcel-bundler": "1.4.1",
"rimraf": "2.6.2"
},
"babel": {
"presets": [
"react",
"env"
]
},
"homepage": "https://daggerok.github.io/parcel-react-example",
"scripts": {
"start": "parcel -p 3000 ./app/index.html",
"build": "npm-run-all build:*",
"build:clean": "rimraf -rf ./dist",
"build:build": "parcel build ./app/index.html --public-url '/'",
"build:404": "ncp ./dist/index.html ./dist/404.html",
"build:nojekyll": "touch ./dist/.nojekyll",
"pregithub": "npm-run-all pregithub:*",
"pregithub:clean": "rimraf -rf ./dist",
"pregithub:build": "parcel build ./app/index.html --public-url '/parcel-react-example/' --no-cache",
"pregithub:404": "ncp ./dist/index.html ./dist/404.html",
"pregithub:nojekyll": "touch ./dist/.nojekyll",
"github": "gh-pages --dist ./dist/ --src '**/*' --branch gh-pages --dotfiles=true -m \"Github Pages $(date +%Y-%m-%d) deployment\""
}
}