1 | {
|
2 | "name": "@shopify/polaris-tokens",
|
3 | "version": "2.14.0",
|
4 | "description": "Design Tokens for the Polaris Design System",
|
5 | "main": "index.js",
|
6 | "types": "dist/index.d.ts",
|
7 | "scripts": {
|
8 | "test": "sewing-kit test",
|
9 | "test-watch": "nodemon --exec 'yarn run build && yarn run test --no-watch' --watch ./tokens --watch ./formats --watch ./gulpfile.js --watch ./scripts --ext js,ts,json,yml",
|
10 | "clean": "rimraf ./dist-modern ./dist",
|
11 | "prebuild": "yarn run clean",
|
12 | "build": "npm-run-all build-modern build-legacy build-docs",
|
13 | "build-ci": "npm-run-all build-modern build-legacy-ci build-docs",
|
14 | "build-legacy": "npm-run-all build-legacy:**",
|
15 | "build-legacy-ci": "npm-run-all build-legacy:* build-legacy:*:*",
|
16 | "build-legacy:gulp": "gulp build-legacy",
|
17 | "build-legacy:format": "prettier ./dist/*.{js,json,css,scss,sketchpalette} --write",
|
18 | "build-legacy:colors:ase": "node ./scripts/ase-encode.js",
|
19 | "build-legacy:colors:clr:exclude-from-ci": "ase2clr ./dist/colors.ase ./dist/colors.clr",
|
20 | "build-legacy:colors:rename-palettes:exclude-from-ci": "renamer --find colors --replace Polaris ./dist/colors.{ase,clr,sketchpalette}",
|
21 | "build-modern": "npm-run-all build-modern:ts build-modern:gulp",
|
22 | "build-modern:ts": "tsc -p tsconfig.build.json",
|
23 | "build-modern:gulp": "gulp build-modern",
|
24 | "build-docs": "gulp docs",
|
25 | "type-check": "sewing-kit type-check",
|
26 | "lint": "sewing-kit lint",
|
27 | "watch": "gulp watch",
|
28 | "heroku-postbuild": "yarn run build-ci",
|
29 | "start": "http-server docs"
|
30 | },
|
31 | "repository": {
|
32 | "type": "git",
|
33 | "url": "git+https://github.com/Shopify/polaris-tokens.git"
|
34 | },
|
35 | "publishConfig": {
|
36 | "access": "public",
|
37 | "@shopify:registry": "https://registry.npmjs.org"
|
38 | },
|
39 | "keywords": [
|
40 | "polaris",
|
41 | "design-tokens"
|
42 | ],
|
43 | "author": "Shopify",
|
44 | "license": "MIT",
|
45 | "bugs": {
|
46 | "url": "https://github.com/Shopify/polaris-tokens/issues"
|
47 | },
|
48 | "eslintConfig": {
|
49 | "extends": [
|
50 | "plugin:shopify/typescript",
|
51 | "plugin:shopify/node",
|
52 | "plugin:shopify/jest",
|
53 | "plugin:shopify/prettier"
|
54 | ]
|
55 | },
|
56 | "stylelint": {
|
57 | "extends": [
|
58 | "stylelint-config-shopify/prettier"
|
59 | ]
|
60 | },
|
61 | "homepage": "https://github.com/Shopify/polaris-tokens#readme",
|
62 | "devDependencies": {
|
63 | "@shopify/sewing-kit": "^0.120.0",
|
64 | "@types/lodash": "^4.14.149",
|
65 | "@types/theo": "^8.1.3",
|
66 | "ase-util": "^1.0.3",
|
67 | "ase-utils": "^0.1.1",
|
68 | "browser-sync": "^2.26.7",
|
69 | "gulp": "^4.0.2",
|
70 | "gulp-load-plugins": "^2.0.2",
|
71 | "gulp-plumber": "^1.2.1",
|
72 | "gulp-rename": "^2.0.0",
|
73 | "gulp-restart": "^0.1.1",
|
74 | "gulp-sass": "^4.0.2",
|
75 | "gulp-sourcemaps": "^2.6.5",
|
76 | "gulp-theo": "^2.0.0",
|
77 | "http-server": "^0.12.1",
|
78 | "immutable": "^3.8.2",
|
79 | "lodash": "^4.17.15",
|
80 | "ms": "^2.1.2",
|
81 | "nodemon": "^2.0.2",
|
82 | "npm-run-all": "^4.1.5",
|
83 | "renamer": "^1.1.4",
|
84 | "rimraf": "^3.0.0",
|
85 | "theo": "8.1.4",
|
86 | "tinycolor2": "^1.4.1",
|
87 | "typescript": "^3.7.5",
|
88 | "xml": "^1.0.1"
|
89 | },
|
90 | "dependencies": {
|
91 | "hsluv": "^0.1.0",
|
92 | "tslib": "^1.10.0"
|
93 | }
|
94 | }
|