forked from canonical/vanilla-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 2.58 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"author": {
"email": "[email protected]",
"name": "Canonical Webteam"
},
"bugs": {
"email": "[email protected]",
"url": "http://github.com/canonical-web-and-design/vanilla-framework/issues"
},
"description": "A simple, extendable CSS framework.",
"homepage": "http://canonical-web-and-design.github.io/vanilla-framework/",
"keywords": [
"ubuntu",
"vanilla",
"framework",
"CSS",
"SASS",
"SCSS",
"mixin",
"module"
],
"license": "LGPL-3.0",
"name": "vanilla-framework",
"repository": {
"type": "git",
"url": "https://github.com/canonical-web-and-design/vanilla-framework"
},
"scripts": {
"start": "yarn build && yarn serve",
"build": "yarn build-scss && yarn build-js",
"build-scss": "yarn run build-js && node-sass scss --functions sass-functions.js --output-style compressed --output build/css && postcss --use autoprefixer --replace 'build/css/**/*.css' --no-map",
"build-js": "mkdir -p build/js/modules && cp node_modules/@canonical/cookie-policy/build/js/cookie-policy.js build/js/modules",
"serve": "./entrypoint 0.0.0.0:${PORT}",
"test-scss": "node -e 'require(\"./tests/parker\").parkerTest()'",
"test-spelling": "mdspell docs/**/*.md -r -n -a --en-gb",
"test": "yarn lint-scss && yarn lint-prettier && yarn test-spelling && yarn test-scss",
"lint-prettier": "prettier -c .",
"lint-scss": "stylelint 'scss/**/*.scss'",
"watch:scss": "node-sass scss --functions sass-functions.js --output-style compressed --output build/css --watch",
"watch:scss:skip-standalone": "node-sass scss/docs --functions sass-functions.js --output-style compressed --output build/css/docs --watch",
"watch": "yarn build && yarn watch:scss",
"clean": "rm -rf build docs/static/css node_modules/ yarn-error.log",
"percy": "percy exec -- node snapshots.js"
},
"version": "2.19.1",
"files": [
"/scss",
"!/scss/docs"
],
"devDependencies": {
"@canonical/cookie-policy": "3.0.2",
"@percy/script": "1.1.0",
"autoprefixer": "10.0.1",
"get-site-urls": "1.1.7",
"husky": "4.3.0",
"markdown-spellcheck": "1.3.1",
"node-sass": "4.14.1",
"parker": "0.0.10",
"postcss": "8.1.0",
"postcss-cli": "8.0.0",
"prettier": "2.1.2",
"pretty-quick": "3.0.2",
"stylelint": "13.7.2",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "20.0.0",
"stylelint-order": "4.1.0",
"stylelint-prettier": "1.1.2",
"stylelint-scss": "3.18.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --check --staged"
}
}
}