forked from commerce-docs/devdocs-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.43 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
{
"name": "Devdocs",
"repository": {
"type": "git",
"url": "git+https://github.com/magento-devdocs/devdocs-theme.git"
},
"scripts": {
"scss": "node-sass --source-map=0 --omit-source-map-url -o assets/css _scss --output-style=compressed",
"autoprefixer": "postcss -u autoprefixer -r assets/css/*.css --map=0",
"uglify": "uglifyjs _js/*.js -o assets/js/app.js && uglifyjs assets/js/*.js -m -c -o assets/js/app.min.js --source-map=0",
"jekyll": "bundle exec jekyll build",
"serve": "browser-sync start --server '_site' --files '_site/assets/css/*.css, _site/assets/js/*.js'",
"build:js": "uglifyjs _js/_vendor/*.js _js/_includes/*.js _js/app.js -o assets/js/app.min.js",
"build:css": "npm run scss && npm run autoprefixer",
"build:html": "npm run jekyll",
"watch:html": "nodemon -e md,html --ignore _site/ -x 'npm run build:html'",
"watch:css": "nodemon -e scss -x 'npm run build:css && cp -r assets/css/ _site/assets/css/'",
"watch:js": "nodemon --watch _js -x 'npm run build:js && cp -r assets/js/ _site/assets/js/'",
"watch:all": "npm-run-all --parallel watch:html watch:js watch:css serve",
"start": "npm run watch:all"
},
"devDependencies": {
"autoprefixer": "^9.5.1",
"browser-sync": "^2.26.3",
"node-sass": "^4.11.0",
"nodemon": "^1.18.11",
"npm-run-all": "^4.1.5",
"postcss-cli": "^6.1.2",
"uglify-js": "^3.5.6"
},
"dependencies": {},
"private": true
}