forked from canonical/vanilla-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.75 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
{
"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 --source-map true --source-map-contents true --output build/css && postcss --use autoprefixer --replace 'build/css/**/*.css' --map",
"build-js": "mkdir -p build/js/modules && cp node_modules/@canonical/cookie-policy/build/js/cookie-policy.js build/js/modules && cp node_modules/@canonical/latest-news/dist/latest-news.js build/js/modules",
"serve": "./entrypoint 0.0.0.0:${PORT}",
"test-scss": "node -e 'require(\"./tests/parker\").parkerTest()'",
"test-spelling": "mdspell templates/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 --source-map true --source-map-contents true --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",
"icon-svgs-to-mixins": "node scripts/convert-svgs-to-icon-mixins.js icons"
},
"version": "2.28.1",
"files": [
"/scss",
"!/scss/docs"
],
"devDependencies": {
"@canonical/cookie-policy": "3.2.0",
"@canonical/latest-news": "1.2.0",
"@percy/script": "1.1.0",
"autoprefixer": "10.2.5",
"get-site-urls": "1.1.7",
"markdown-spellcheck": "1.3.1",
"node-sass": "5.0.0",
"parker": "0.0.10",
"postcss": "8.2.10",
"postcss-cli": "8.3.1",
"prettier": "2.2.1",
"stylelint": "13.12.0",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "21.0.0",
"stylelint-order": "4.1.0",
"stylelint-prettier": "1.2.0",
"stylelint-scss": "3.19.0",
"svgo": "2.3.0"
}
}