-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.62 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
{
"name": "@yalesites-org/tokens",
"version": "1.35.0",
"description": "Tokens for YaleSites component libraries.",
"repository": {
"type": "git",
"url": "git://github.com/yalesites-org/tokens.git"
},
"bugs": {
"url": "https://github.com/yalesites-org/tokens/issues"
},
"homepage": "https://github.com/yalesites-org/tokens",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"files": [
"build"
],
"scripts": {
"build": "npm run transform && npm run style-dictionary:build",
"develop": "chokidar 'tokens' -c 'npm run build' -i 'tokens/figma-transformed-tokens.json'",
"husky:commit-msg": "commitlint --edit $1",
"husky:pre-commit": "lint-staged",
"prepare": "husky install",
"prettier": "prettier tokens --ignore-unknown",
"semantic-release": "semantic-release",
"style-dictionary:build": "style-dictionary build --config ./sd.config.js",
"test": "echo \"Error: no test specified\" && exit 1",
"transform": "token-transformer tokens/figma-export/tokens.json tokens/figma-transformed-tokens.json"
},
"devDependencies": {
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@semantic-release/github": "^8.0.2",
"@semantic-release/npm": "^8.0.3",
"@yalesites-org/eslint-config-and-other-formatting": "^1.3.1",
"chokidar-cli": "^3.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.6",
"semantic-release": "^18.0.1",
"style-dictionary": "^3.1.1",
"token-transformer": "^0.0.17",
"yaml": "^1.10.2"
},
"lint-staged": {
"tokens/**/*.yml": [
"npm run prettier -- --write"
]
}
}