-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
47 lines (47 loc) · 1.75 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
{
"name": "loppo-theme-wangdoc-frontpage",
"version": "0.5.7",
"description": "template for Wangdoc frontpage",
"main": "index.js",
"scripts": {
"postversion": "npm run update-bulma",
"update-bulma": "npm update bulma && cp -rf ./node_modules/bulma/bulma.sass ./node_modules/bulma/sass .",
"clean-css": "rm -rf ./theme/assets/css/*",
"build-css": "npm run clean-css && npm run build-sass && npm run build-autoprefix && npm run build-uglify",
"build-autoprefix": "postcss --use autoprefixer --map false --output theme/assets/css/app.css theme/assets/css/app.css",
"build-sass": "sass --style expanded sass/app.sass theme/assets/css/app.css",
"build-uglify": "cleancss --source-map --with-rebase -o theme/assets/css/app.min.css theme/assets/css/app.css",
"build-js": "mkdir -p theme/assets/js && npm run build-js-app && npm run build-js-support",
"build-js-app": "browserify scripts/index.js | uglifyjs -c > theme/assets/js/app.js",
"build-js-support": "uglifyjs scripts/support.js -c > theme/assets/js/s.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"homepage": "https://github.com/wangdoc/loppo-theme-wangdoc-frontpage",
"repository": {
"type": "git",
"url": "https://github.com/wangdoc/loppo-theme-wangdoc-frontpage.git"
},
"keywords": [
"loppo",
"theme",
"template"
],
"husky": {
"hooks": {
"pre-commit": "npm run build-css && npm run build-js && git add -A"
}
},
"author": "Ruan Yifeng",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^10.4.2",
"browserify": "^17.0.0",
"bulma": "^0.9.3",
"clean-css-cli": "^5.5.2",
"husky": "4.3.8",
"sass": "1.x",
"postcss": "^8.4.8",
"postcss-cli": "10.x",
"uglify-js": "^3.15.2"
}
}