-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
56 lines (56 loc) · 2.11 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
{
"name": "html-sass-babel-boilerplate",
"version": "1.1.9",
"description": "Simple boilerplate for building web app with babel-cli and node-sass.",
"main": "",
"scripts": {
"build": "npm run build:css && npm run build:js",
"build:css": "npx rimraf dist/css/*.css && npm run lint:css && npx node-sass src/scss/main.scss dist/css/main.min.css --output-style=compressed && npx postcss dist/css/main.min.css --output dist/css/main.min.css --no-map",
"watch:css": "npx node-sass src/scss/main.scss dist/css/main.min.css --output-style=compressed --watch",
"build:js": "npx rimraf dist/js/*.js && npm run lint:js && npx babel src/js/main.js --out-file dist/js/main.min.js --no-comments --minified --presets=@babel/preset-env && terser --compress --mangle --output dist/js/main.min.js -- dist/js/main.min.js",
"watch:js": "npx babel src/js/main.js --out-file dist/js/main.min.js --no-comments --minified --presets=@babel/preset-env --watch",
"lint:js": "npx eslint src/js/**/*.js",
"lint:js:fix": "npx eslint src/js/**/*.js --fix",
"lint:css": "npx stylelint src/scss/**/*.scss",
"lint:css:fix": "npx stylelint src/scss/**/*.scss --fix",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oliverfindl/html-sass-babel-boilerplate.git"
},
"keywords": [
"html",
"sass",
"postcss",
"autoprefixer",
"purgecss",
"babel",
"eslint",
"stylelint",
"boilerplate",
"html-sass-babel-boilerplate"
],
"author": "Oliver Findl",
"license": "MIT",
"bugs": {
"url": "https://github.com/oliverfindl/html-sass-babel-boilerplate/issues"
},
"homepage": "https://github.com/oliverfindl/html-sass-babel-boilerplate#readme",
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.14.2",
"@babel/preset-env": "^7.14.2",
"@fullhuman/postcss-purgecss": "^4.0.3",
"autoprefixer": "^10.2.5",
"eslint": "^7.26.0",
"node-sass": "^6.0.0",
"postcss": "^8.2.15",
"postcss-cli": "^8.3.1",
"rimraf": "^3.0.2",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.19.0",
"terser": "^5.7.0"
}
}