-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
87 lines (87 loc) · 2.74 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
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "@tokens-studio/sd-transforms",
"version": "1.2.9",
"description": "Custom transforms for Style-Dictionary, to work with Design Tokens that are exported from Tokens Studio",
"license": "MIT",
"author": "Joren Broekema <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/tokens-studio/sd-transforms.git"
},
"type": "module",
"exports": {
".": "./dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && tsc",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .ts,.html . --fix",
"format:prettier": "prettier \"**/*.{ts,md,mjs,js,cjs}\" \"package.json\" --write",
"lint": "run-p lint:*",
"lint:eslint": "eslint --ext .ts,.html .",
"lint:prettier": "prettier \"**/*.ts\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"lint:types": "tsc --noEmit",
"prepare": "husky install",
"release": "npm run build && changeset publish",
"test": "npm run test:unit && npm run test:integration",
"test:integration": "ts-mocha -n loader=ts-node/esm -p tsconfig.json test/**/*.test.ts",
"test:unit": "web-test-runner --coverage",
"test:unit:coverage": "cd coverage/lcov-report && npx http-server -o -c-1",
"test:unit:watch": "web-test-runner --watch"
},
"dependencies": {
"@bundled-es-modules/deepmerge": "^4.3.1",
"@bundled-es-modules/postcss-calc-ast-parser": "^0.1.6",
"@tokens-studio/types": "^0.5.1",
"colorjs.io": "^0.4.3",
"expr-eval-fork": "^2.0.2",
"is-mergeable-object": "^1.1.1"
},
"peerDependencies": {
"style-dictionary": "^4.1.4"
},
"devDependencies": {
"@changesets/cli": "^2.27.6",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/tinycolor2": "^1.4.6",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@web/dev-server-esbuild": "^0.3.3",
"@web/test-runner": "^0.18.2",
"@web/test-runner-playwright": "^0.11.0",
"chai": "^5.1.1",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-mocha": "^10.4.3",
"hanbi": "^1.0.3",
"http-server": "^14.1.1",
"husky": "^8.0.0",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"prettier-package-json": "^2.8.0",
"rimraf": "^6.0.1",
"tinycolor2": "^1.6.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.5.2"
},
"keywords": [
"design tokens",
"figma",
"style-dictionary"
],
"engines": {
"node": ">=18.0.0"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "all"
}
}