-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.59 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
{
"name": "js-template",
"author": "",
"deprecated": false,
"private": true,
"description": "",
"devDependencies": {
"@babel/core": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^6.2.0",
"cross-env": "^5.0.1",
"css-loader": "^1.0.0",
"ejs-loader": "^0.3.0",
"eslint": "^5.4.0",
"gh-pages": "^3.1.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"rimraf": "^2.6.1",
"source-map-loader": "^0.2.1",
"style-loader": "^0.22.1",
"webpack": "^4.17.0",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5"
},
"directories": {
"test": "tests"
},
"license": "ISC",
"main": "src/index.js",
"scripts": {
"build": "npm run build:prod",
"build:dev": "webpack --mode development --config ./webpack.config.js --progress --color --display-error-details",
"build:prod": "cross-env NODE_ENV=production webpack --mode production --config ./webpack.config.js --progress --color --display-error-details --bail",
"deploy": "gh-pages -d ./dist --dest=./ --remote origin",
"clean": "npm cache clear && rimraf -- dist",
"server": "npm run server:dev",
"server:dev": "webpack-dev-server --mode development --config ./webpack.config.js --hot --inline --progress --watch --open",
"server:prod": "cross-env NODE_ENV=production webpack-dev-server --mode production --config ./webpack.config.js --port 3000 --host 0.0.0.0 --hot --inline --progress --watch --open --content-base dist/",
"start": "npm run server:dev"
},
"version": "0.0.1",
"dependencies": {}
}