-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
43 lines (43 loc) · 1.8 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
{
"name": "weskit",
"version": "3.0.0",
"description": "A template for web pages development",
"scripts": {
"build": "rimraf ./dist/* && concurrently 'npm:copy:*' && npm run sass && concurrently 'npm:optimize:*'",
"start": "npm run copy:assets; concurrently 'npm:watch' 'npm:serve'",
"watch": "concurrently 'npm:watch:*'",
"serve": "browser-sync start --server 'dist' --files 'dist'",
"watch:sass": "npm run sass; node-sass -w src/styles -o dist --output-style compressed",
"watch:scripts": "watch 'npm run copy:scripts' src/scripts --interval=1",
"watch:html": "watch 'npm run copy:html' src --filter=./scripts/watch-filter-html.js --interval 1",
"copy:assets": "copy-assets src dist --exts=.json,.png,.jpg,.jpeg,.webp,.gif,.txt",
"copy:scripts": "copy-assets src dist --exts=.js",
"copy:html": "copy-assets src dist --exts=.html",
"optimize:assets:json": "node -r esm ./scripts/minify-json.js",
"optimize:scripts": "uglifyjs-folder dist --each --extension .js -o dist",
"optimize:html": "html-minifier --file-ext html --input-dir ./dist --output-dir ./dist --collapse-whitespace --remove-comments --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true",
"sass": "node-sass src/styles -o dist --output-style compressed"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HDeiro/weskit.git"
},
"author": "Hugo Deiró <hugodeiro@gmail.com> (hdeiro.github.io)",
"license": "ISC",
"bugs": {
"url": "https://github.com/HDeiro/weskit/issues"
},
"homepage": "https://github.com/HDeiro/weskit#readme",
"devDependencies": {
"browser-sync": "2.27.10",
"concurrently": "7.3.0",
"copy-assets": "1.0.3",
"esm": "3.2.25",
"glob": "8.0.3",
"html-minifier": "4.0.0",
"node-sass": "7.0.1",
"rimraf": "3.0.2",
"uglifyjs-folder": "3.1.2",
"watch": "1.0.2"
}
}