@shopify/polaris-tokens
Version:
Design Tokens for the Polaris Design System
99 lines (98 loc) • 2.98 kB
JSON
{
"name": "@shopify/polaris-tokens",
"version": "1.3.1",
"description": "Design Tokens for the Polaris Design System",
"main": "index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"test-watch": "nodemon --exec 'npm-run-all dist test' --watch ./tokens --watch ./formats --watch ./gulpfile.js --watch ./scripts",
"clean": "rimraf ./dist",
"getTokensFromInvision": "node ./scripts/getTokensFromInvision.js",
"predist": "yarn clean",
"dist": "npm-run-all dist:**",
"dist-ci": "npm-run-all dist:* dist:*:*",
"dist:gulp": "gulp",
"dist:docs": "gulp docs",
"dist:prettier": "prettier ./{dist,docs}/*.{scss,css,json,js} --write",
"dist:colors:prettier-sketchpalette": "prettier ./dist/*.sketchpalette --write --parser json",
"dist:colors:ase": "node ./scripts/ase-encode.js",
"dist:colors:clr:excludeFromCI": "ase2clr ./dist/colors.ase ./dist/colors.clr",
"dist:colors:rename-palettes": "renamer --find colors --replace Polaris ./dist/colors.{ase,clr,sketchpalette}",
"lint": "npm-run-all lint:**",
"lint:js": "eslint . --format codeframe",
"lint:tokens": "yamllint ./tokens/*.yml",
"watch": "gulp watch",
"heroku-postbuild": "yarn dist-ci",
"start": "http-server docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Shopify/polaris-tokens.git"
},
"publishConfig": {
"access": "public",
"@shopify:registry": "https://registry.npmjs.org"
},
"keywords": [
"polaris",
"design-tokens"
],
"author": "Shopify",
"license": "MIT",
"bugs": {
"url": "https://github.com/Shopify/polaris-tokens/issues"
},
"eslintConfig": {
"extends": [
"plugin:shopify/node",
"plugin:shopify/esnext",
"plugin:shopify/prettier"
],
"rules": {
"func-style": [
"error",
"declaration",
{
"allowArrowFunctions": true
}
]
}
},
"homepage": "https://github.com/Shopify/polaris-tokens#readme",
"devDependencies": {
"ase-util": "^1.0.1",
"ase-utils": "^0.1.1",
"browser-sync": "^2.24.5",
"dashify": "^1.0.0",
"eslint": "^5.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.1",
"eslint-plugin-shopify": "^22.1.0",
"fs-extra": "^6.0.1",
"gulp": "^3.9.1",
"gulp-load-plugins": "^1.5.0",
"gulp-plumber": "^1.2.0",
"gulp-rename": "^1.3.0",
"gulp-restart": "^0.1.1",
"gulp-sass": "^4.0.1",
"gulp-sourcemaps": "^2.6.4",
"gulp-theo": "^2.0.0",
"http-server": "^0.11.1",
"immutable": "^3.8.2",
"jest": "^23.2.0",
"js-yaml": "^3.12.0",
"lodash": "^4.17.10",
"node-fetch": "^2.1.2",
"nodemon": "^1.17.5",
"npm-run-all": "^4.1.3",
"prettier": "1.13.7",
"renamer": "^0.7.3",
"rimraf": "^2.6.2",
"run-sequence": "^2.2.1",
"theo": "^7.0.1",
"tinycolor2": "^1.4.1",
"xml": "^1.0.1",
"yaml-lint": "^1.2.4"
}
}