-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.26 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
{
"name": "webpackphp",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"babel-loader": "^8.0.6",
"css-loader": "^3.2.0",
"eslint": "^6.3.0",
"eslint-config-devine": "^3.0.0",
"file-loader": "^4.2.0",
"mamp-cli": "^0.0.10",
"mini-css-extract-plugin": "^0.8.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"resolve-url-loader": "^3.1.0",
"style-loader": "^1.0.0",
"stylelint-config-devine": "^2.0.2",
"url-loader": "^2.1.0",
"webpack": "^4.40.2",
"webpack-cli": "^3.3.8",
"webpack-dev-server": "^3.8.0"
},
"scripts": {
"dev": "yarn mamp-dev && webpack-dev-server --mode development",
"prod": "yarn clean && yarn copydist && webpack --mode production",
"copydist": "rsync -a --exclude=*.css --exclude=*.js ./src/ ./dist",
"clean": "rm -rf ./dist",
"mamp-dev": "./node_modules/.bin/mamp switch \"$(pwd)/src\"",
"mamp-prod": "./node_modules/.bin/mamp switch \"$(pwd)/dist\"",
"heroku-postbuild": "yarn prod"
},
"browserslist": [
"last 2 versions",
"> 1%",
"not dead"
]
}