-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
39 lines (39 loc) · 1.94 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
{
"name": "collective.sidebar",
"version": "1.3.0",
"description": "An add-on for Plone",
"main": "index.js",
"author": "Stefan Antonelli",
"license": "MIT",
"homepage": "https://github.com/collective/collective.sidebar",
"repository": {
"type": "git",
"url": "git+https://github.com/collective/collective.sidebar.git"
},
"bugs": {
"url": "https://github.com/collective/collective.sidebar/issues"
},
"keywords": [
"plone"
],
"scripts": {
"css": "npm-run-all css-compile-main css-prefix-main css-minify-main",
"css-lint": "stylelint \"src/collective/sidebar/browser/static/css/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
"css-compile-main": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 src/collective/sidebar/browser/static/css/ -o src/collective/sidebar/browser/static/css/",
"css-minify-main": "cleancss --format breakWith=lf --source-map --source-map-inline-sources --output src/collective/sidebar/browser/static/css/sidebar.min.css src/collective/sidebar/browser/static/css/sidebar.css",
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"src/collective/sidebar/browser/static/css/*.css\" \"!src/collective/sidebar/browser/static/css/*.min.css\"",
"js": "npm-run-all js-compile-main",
"js-compile-main": "uglifyjs src/collective/sidebar/browser/static/js/sidebar.js --compress --mangle --output src/collective/sidebar/browser/static/js/sidebar.min.js",
"lint": "npm-run-all --parallel css-lint",
"dist": "npm-run-all --parallel css js",
"watch": "nodemon --watch src/collective/sidebar/browser/static/css/ --watch src/collective/sidebar/browser/static/js/sidebar.js --ext scss,js --exec \"npm run dist\""
},
"devDependencies": {
"clean-css-cli": "^5.6.2",
"node-sass": "^8.0.0",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0",
"stylelint": "^14.16.1"
}
}