-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.4 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
56
57
58
59
60
61
62
63
64
65
66
{
"name": "scss-js-starter-kit",
"version": "1.0.0",
"description": "A web starter kit with scss, js and working sourcemaps.",
"author": "Denis Brodbeck (https://github.com/denisbrodbeck)",
"homepage": "https://github.com/denisbrodbeck/scss-js-starter-kit",
"license": "MIT",
"main": "dist/js/app.js",
"style": "dist/css/app.css",
"sass": "scss/app.scss",
"repository": {
"type": "git",
"url": "git+https://github.com/denisbrodbeck/scss-js-starter-kit.git"
},
"bugs": {
"url": "https://github.com/denisbrodbeck/scss-js-starter-kit/issues"
},
"scripts": {
"clean": "del ./dist/*",
"build": "npm run clean && npm run css && npm run js",
"css": "npm run css-lint && npm run css-compile && npm run css-prefix && npm run css-minify",
"css-lint": "stylelint --config build/.stylelintrc --syntax scss \"scss/**/*.scss\"",
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/app.scss dist/css/app.css",
"css-prefix": "postcss --config build/postcss.config.js --replace dist/css/app.css",
"css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/app.min.css dist/css/app.css",
"js": "npm run js-lint && npm run js-compile && npm run js-minify",
"js-lint": "standard \"js/**/*.js\"",
"js-compile": "rollup --config build/rollup.config.js --sourcemap",
"js-minify": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/app.js.map,includeSources,url=app.min.js.map\" --output dist/js/app.min.js dist/js/app.js",
"fix": "standard --fix \"js/**/*.js\" && standard --fix \"build/**/*.js\"",
"test": "npm run fix"
},
"devDependencies": {
"autoprefixer": "^7.1.6",
"clean-css-cli": "^4.1.10",
"del-cli": "^1.1.0",
"node-sass": "^4.6.1",
"postcss-cli": "^4.1.1",
"rollup": "^0.51.8",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-node-resolve": "^3.0.0",
"standard": "^10.0.3",
"stylelint": "^8.2.0",
"stylelint-config-recommended-scss": "^2.0.0",
"stylelint-scss": "^2.1.0",
"uglify-js": "^3.1.10"
},
"engines": {
"node": ">=6"
},
"standard": {
"ignore": [
"/dist/"
]
},
"browserslist": [
"Chrome >= 45",
"Firefox ESR",
"Edge >= 12",
"Explorer >= 10",
"iOS >= 9",
"Safari >= 9",
"Android >= 4.4",
"Opera >= 30"
]
}