forked from canonical/maas.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
25 lines (25 loc) · 1.2 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
{
"name": "ubuntu-maas",
"description": "Static Django website blueprint",
"scripts": {
"test": "yarn run lint-scss && yarn run lint-py && yarn run test-py",
"lint-py": "flake8 --exclude '*env*,node_modules' && black --line-length 79 --check --exclude '(node_modules/.*|[^/]*env[0-9]?/.*)' .",
"lint-scss": "sass-lint static/**/*.scss --verbose --no-exit",
"test-py": "python3 -m unittest discover tests",
"clean": "rm -rf node_modules yarn-error.log static/css *.log *.sqlite _site/ build/ .jekyll-metadata",
"copy-3rd-party-js": "mkdir -p static/js/modules/global-nav && cp node_modules/@canonical/global-nav/dist/global-nav.js static/js/modules/global-nav",
"watch": "node-sass --include-path node_modules --source-map true --watch static/sass --output static/css",
"serve": "./entrypoint 0.0.0.0:${PORT}",
"build": "node-sass --include-path node_modules static/sass --output static/css --output-style compressed && yarn run copy-3rd-party-js"
},
"author": "Canonical webteam",
"license": "LGPL v3",
"devDependencies": {
"node-sass": "4.12.0",
"sass-lint": "1.13.1",
"vanilla-framework": "2.4.0"
},
"dependencies": {
"@canonical/global-nav": "2.1.0"
}
}