UNPKG

vanilla-framework

Version:

A simple, extendable CSS framework.

88 lines (87 loc) 3.78 kB
{ "name": "vanilla-framework", "version": "4.22.0", "author": { "email": "webteam@canonical.com", "name": "Canonical Webteam" }, "bugs": { "email": "webteam@canonical.com", "url": "https://github.com/canonical/vanilla-framework/issues" }, "description": "A simple, extendable CSS framework.", "homepage": "https://vanillaframework.io/", "keywords": [ "ubuntu", "vanilla", "framework", "CSS", "SASS", "SCSS", "mixin", "module" ], "license": "LGPL-3.0", "repository": { "type": "git", "url": "https://github.com/canonical/vanilla-framework" }, "scripts": { "start": "yarn build && yarn serve", "build": "yarn build-scss && yarn build-js && yarn build-class-references", "build-tokens": "((style-dictionary build --verbose --config ./sd.config.json) || true)", "build-scss": "yarn build-tokens && sass --load-path=node_modules --embed-sources --style=compressed --silence-deprecation=mixed-decls,import,global-builtin scss:build/css && postcss --use autoprefixer --replace 'build/css/**/*.css' --map", "build:essential": "yarn run build-js && sass --load-path=node_modules --embed-sources --style=compressed --silence-deprecation=mixed-decls,import,global-builtin scss/build.scss:build/css/build.css scss/docs:build/css/docs && 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 && cp node_modules/js-beautify/js/lib/beautify.js node_modules/js-beautify/js/lib/beautify-html.js node_modules/js-beautify/js/lib/beautify-css.js build/js/modules", "build-class-references": "node scripts/create-class-references.js", "cypress:open": "cypress open", "cypress:run": "cypress run", "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 && yarn jest", "lint-prettier": "prettier -c .", "lint-scss": "stylelint 'scss/**/*.scss'", "watch:scss": "sass --load-path=node_modules --embed-sources --style=compressed --silence-deprecation=mixed-decls,import,global-builtin scss:build/css --watch", "watch:essential": "sass --load-path=node_modules --embed-sources --style=compressed --silence-deprecation=mixed-decls,import,global-builtin scss/build.scss:build/css/build.css --watch", "watch": "yarn build && yarn watch:scss", "clean": "rm -rf build docs/static/css node_modules/ yarn-error.log", "percy": "percy snapshot snapshots.js", "icon-svgs-to-mixins": "node scripts/convert-svgs-to-icon-mixins.js icons" }, "files": [ "_index.scss", "/scss", "!/scss/docs", "!/scss/standalone", "/templates/_macros" ], "devDependencies": { "@canonical/cookie-policy": "3.6.5", "@canonical/latest-news": "1.5.0", "@percy/cli": "1.30.7", "@testing-library/cypress": "10.0.3", "autoprefixer": "10.4.20", "cypress": "14.0.2", "jest": "29.7.0", "js-beautify": "1.15.1", "markdown-spellcheck": "1.3.1", "mime": "3.0.0", "parker": "0.0.10", "postcss": "8.5.1", "postcss-cli": "11.0.0", "postcss-scss": "4.0.9", "prettier": "3.4.2", "sass": "1.84.0", "style-dictionary": "4.3.2", "stylelint": "16.14.1", "stylelint-config-recommended-scss": "14.1.0", "stylelint-order": "6.0.4", "stylelint-prettier": "5.0.3", "svgo": "3.3.2", "yaml": "2.7.0" }, "peerDependencies": { "sass": "^1.79.0" } }