-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·50 lines (50 loc) · 1.89 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
{
"name": "build-tool",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"autoprefixer": "postcss --use autoprefixer -r --no-map ./dist/css/main.css",
"browsersync": "browser-sync start --no-open --reload-delay 1000 --reload-debounce 1000 --server --port 3333 './' --files './dist/css/main.css' './dist/js/main.js' './public/html/*.html'",
"build:css": "node-sass -o ./dist/css/ ./src/scss/main.scss && npm run autoprefixer",
"build:js": "webpack -p --config webpack.config.js",
"clean:css": "cleancss --compatibility ie9 -o ./dist/css/main.min.css ./dist/css/main.css",
"dev": "NODE_ENV=dev npm run firstrun & npm run watch:all & npm run browsersync",
"dist": "NODE_ENV=dist npm run build:js && npm run build:css && npm run autoprefixer && npm run mqpacker && npm run clean:css",
"mqpacker": "mqpacker -s ./dist/css/main.css ./dist/css/main.css",
"firstrun": "npm run build:css && npm run build:js",
"watch:all": "npm-run-all -p watch:css watch:js",
"watch:css": "onchange './src/scss/**/*' -- npm run build:css",
"watch:js": "onchange './src/js/**/*' -- npm run build:js"
},
"author": "Alessandro Muraro <[email protected]>",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^7.1.2",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.0",
"browser-sync": "^2.18.13",
"clean-css-cli": "^4.1.6",
"css-mqpacker": "^6.0.1",
"eslint": "^4.4.1",
"eslint-config-defaults": "^9.0.0",
"eslint-plugin-import": "^2.7.0",
"node-sass": "^4.5.3",
"npm-run-all": "^4.0.2",
"onchange": "^3.2.1",
"postcss": "^6.0.8",
"postcss-cli": "^4.1.0",
"stylelint": "^8.0.0",
"stylelint-order": "^0.6.0",
"webpack": "^3.5.3"
},
"browserslist": [
"> 1%",
"last 4 versions"
],
"dependencies": {
"jquery": "^3.2.1"
}
}