-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
33 lines (33 loc) · 1.41 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
{
"scripts": {
"watch": "watch -p 'static/sass/**/*.scss' -c 'yarn run build-sass'",
"build-docs": "./build-docs.sh",
"build-sass": "sass static/sass/main.scss static/css/main.css --load-path=node_modules --style=compressed && postcss --use autoprefixer --map false --replace 'static/css/**/*.css'",
"build": "yarn run build-docs && yarn run build-sass && yarn run build-js",
"build-js": "webpack",
"serve": "./entrypoint 0.0.0.0:${PORT}",
"test": "yarn run lint-scss && yarn run lint-python && yarn run test-python",
"test-python": "python3 -m unittest discover tests",
"lint-python": "flake8 webapp && black --check --line-length 79 webapp",
"lint-scss": "sass-lint 'static/sass/**/*.scss' --verbose --no-exit --max-warnings=0",
"clean": "rm -rf node_modules yarn-error.log css static/css *.log *.sqlite _site/ build/ .jekyll-metadata .bundle docs/ templates/landscape/ templates/documentation-builder/ static/media"
},
"dependencies": {
"@canonical/cookie-policy": "^3.6.4",
"@canonical/global-nav": "2.7.0",
"autoprefixer": "10.4.1",
"sass-lint": "1.13.1",
"vanilla-framework": "3.6.1",
"watch-cli": "0.2.3",
"postcss": "8.4.5",
"postcss-cli": "8.3.1",
"sass": "1.46.0",
"webpack": "5.65.0",
"webpack-cli": "4.9.1"
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/preset-env": "7.16.7",
"babel-loader": "8.2.3"
}
}