-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.84 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
{
"dependencies": {
"brand-colors": "*",
"colors-sass": "*",
"fitvids": "*",
"include-media": "*",
"include-media-export": "*",
"normalize.css": "*"
},
"devDependencies": {
"autoprefixer": "*",
"concurrently": "*",
"css-declaration-sorter": "*",
"css-loader": "*",
"eslint": "*",
"eslint-plugin-simple-import-sort": "*",
"eslint-plugin-vue": "*",
"mini-css-extract-plugin": "*",
"nodemon": "*",
"postcss": "*",
"postcss-cli": "*",
"postcss-loader": "*",
"postcss-scss": "*",
"rfs": "*",
"rimraf": "*",
"sass": "*",
"sass-loader": "*",
"svg-sprite": "*",
"vue": "^2",
"vue-loader": "^15",
"vue-template-compiler": "*",
"webpack": "*",
"webpack-cli": "*"
},
"scripts": {
"clean": "rimraf static/build && mkdir static/build",
"eslint": "eslint --cache -c config/eslint.json --fix '{js,config}/**/*.{js,vue}'",
"webpack-development": "webpack --config=config/webpack.config.js --mode=development",
"webpack-production": "webpack --config=config/webpack.config.js --mode=production",
"svg_sprite": "svg-sprite --symbol --symbol-dest= --shape-id-generator=icon-%s --symbol-inline --symbol-sprite=icons.svg --shape-dim-width=100 --shape-dim-height=100 --shape-dim-precision=3 --svg-xmldecl=false --svg-doctype=false --svg-dimattrs=false --dest=static/build/svgs 'svgs/**/*.svg'",
"prebuild": "npm run clean -s",
"postcss-scss": "postcss 'sass/**/*.scss' --replace --config=config",
"build:webpack": "npm run postcss-scss && npm run eslint && npm run webpack-production",
"build:images": "npm run svg_sprite",
"build": "concurrently 'npm:build:*'",
"prewatch": "npm run clean -s",
"watch:webpack": "npm run webpack-development",
"watch:svgs": "nodemon --watch svgs --exec 'npm run svg_sprite' --ext svg -q",
"watch": "concurrently 'npm:watch:*'"
},
"browserslist": [
">1%",
"not op_mini all"
]
}