forked from tokens-studio/sd-transforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.01 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
88
89
90
91
92
93
{
"name": "@tokens-studio/sd-transforms",
"version": "0.9.5",
"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": {
".": {
"require": "./dist/src/index.cjs",
"import": "./dist/src/index.js"
}
},
"main": "./dist/src/index.cjs",
"module": "./dist/src/index.js",
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && rollup -c rollup.config.mjs && node ./handle-bundled-cjs-deps.js",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .ts,.html . --fix",
"format:prettier": "prettier \"**/*.{ts,md}\" \"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"
},
"types": "./dist/index.d.ts",
"dependencies": {
"@tokens-studio/types": "^0.2.1",
"browser-style-dictionary": "^3.1.1-browser.1",
"color2k": "^2.0.1",
"colorjs.io": "^0.4.3",
"deepmerge": "^4.3.1",
"expr-eval": "^2.0.2",
"is-mergeable-object": "^1.1.1",
"postcss-calc-ast-parser": "^0.1.4",
"style-dictionary": "^3.7.2"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@web/dev-server-esbuild": "^0.3.3",
"@web/dev-server-rollup": "^0.5.0",
"@web/test-runner": "^0.15.1",
"@web/test-runner-playwright": "^0.9.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"glob": "^10.2.6",
"husky": "^8.0.0",
"lint-staged": "^13.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"prettier-package-json": "^2.8.0",
"rimraf": "^4.1.3",
"rollup": "^3.18.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"keywords": [
"design tokens",
"figma",
"style-dictionary"
],
"engines": {
"node": ">=15.14.0"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "all"
}
}