-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
68 lines (68 loc) · 2.15 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
{
"name": "@divriots/style-dictionary-to-figma",
"version": "0.4.0",
"description": "A utility that transforms a style-dictionary object into something Figma Tokens plugin understands",
"license": "MIT",
"author": "divRiots <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/divriots/style-dictionary-to-figma.git"
},
"type": "module",
"main": "index.js",
"files": [
"index.cjs",
"index.js",
"index.d.ts",
"src/**/*"
],
"scripts": {
"build:cjs": "rollup index.js --file index.cjs --format cjs --plugin rollup-plugin-cleanup",
"build:types": "tsc -p tsconfig.build.types.json",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix",
"format:prettier": "prettier \"**/*.{js,md}\" \"package.json\" --write",
"lint": "run-p lint:*",
"lint:eslint": "eslint --ext .js,.html .",
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"lint:types": "tsc",
"prepare": "husky install",
"release": "run-p build:* && changeset publish",
"test": "web-test-runner --coverage",
"test:view:coverage": "cd coverage/lcov-report && npx http-server -o -c-1",
"test:watch": "web-test-runner --watch"
},
"devDependencies": {
"@changesets/cli": "^2.23.0",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@open-wc/eslint-config": "^7.0.0",
"@web/test-runner": "^0.13.31",
"@web/test-runner-playwright": "^0.8.9",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"husky": "^7.0.4",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-package-json": "^2.6.4",
"rollup": "^2.77.0",
"rollup-plugin-cleanup": "^3.2.1",
"typescript": "^4.7.4"
},
"keywords": [
"design tokens",
"figma",
"style-dictionary"
],
"exports": {
"import": "./index.js",
"require": "./index.cjs"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "all"
}
}