forked from amzn/style-dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 3.7 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@invideoio/style-dictionary",
"version": "1.0.0",
"description": "Style once, use everywhere. A build system for creating cross-platform styles.",
"keywords": [
"style dictionary",
"style",
"dictionary",
"amazon",
"css",
"design",
"properties",
"tokens",
"sass",
"scss",
"iOS",
"Android",
"react",
"react native",
"style guide"
],
"main": "index.js",
"types": "types/index.d.ts",
"bin": {
"style-dictionary": "./bin/style-dictionary"
},
"engines": {
"node": ">=12.0.0"
},
"files": [
"bin",
"lib",
"examples",
"index.js",
"LICENSE",
"NOTICE",
"types"
],
"scripts": {
"lint": "eslint --fix index.js \"lib/**/*.js\" \"__tests__/**/*.js\"",
"test": "npm run test-types && npm run lint && jest --runInBand --silent --coverage",
"test-types": "tsd",
"test-watch": "npm run test-types && npm run lint && jest --runInBand --watch",
"generate-docs": "node ./scripts/generateDocs.js",
"serve-docs": "docsify serve docs -p 3000 -P 12345",
"install-cli": "npm install -g $(npm pack)",
"release": "git add . && standard-version -a"
},
"standard-version": {
"scripts": {
"postbump": "node ./scripts/version.js && npm run generate-docs"
}
},
"jest": {
"verbose": false,
"collectCoverageFrom": [
"lib/**/*.js"
],
"coverageReporters": [
"html"
],
"coverageDirectory": "docs/coverage",
"roots": [
"__tests__",
"__integration__"
],
"setupFilesAfterEnv": [
"<rootDir>/__tests__/__setup.js"
],
"testPathIgnorePatterns": [
"/__tests__/__setup.js",
"/__tests__/__helpers.js",
"/__tests__/__assets/",
"/__tests__/__configs/",
"/__tests__/__json_files/",
"/__tests__/__properties/",
"/__tests__/__output/",
"/__tests__/formats/__constants.js"
],
"transform": {
"^.+\\.json5$": "json5-jest",
"^.+\\.jsonc$": "json5-jest",
"^.+\\.jsx?$": "babel-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "npm test && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"npm run lint",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"repository": {
"type": "git",
"url": "git@github.com:invideoio/style-dictionary.git"
},
"author": "Amazon",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/amzn/style-dictionary/issues"
},
"contributors": [
"Yuliya Baran <baranyu@amazon.com>",
"Charles Dorner <dornerc@amazon.com>",
"Dustin Boudreau <boudrd@amazon.com>",
"Danny Banks <djb@amazon.com>"
],
"homepage": "https://github.com/amzn/style-dictionary",
"dependencies": {
"chalk": "^4.0.0",
"change-case": "^4.1.2",
"commander": "^5.1.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"jsonc-parser": "^3.0.0",
"json5": "^2.1.3",
"lodash": "^4.17.15",
"tinycolor2": "^1.4.1"
},
"devDependencies": {
"@babel/preset-env": "^7.10.2",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"babel-jest": "^26.0.1",
"babel-preset-env": "^1.7.0",
"docsify": "^4.12.1",
"docsify-cli": "^4.4.3",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^24.1.3",
"husky": "^4.2.5",
"istanbul": "^0.4.5",
"jest": "^26.6.3",
"jsdoc-escape-at": "^1.0.1",
"jsdoc-to-markdown": "^7.0.1",
"json5-jest": "^1.0.1",
"less": "^3.11.2",
"lint-staged": "^10.2.7",
"node-sass": "^6.0.1",
"standard-version": "^9.0.0",
"stylus": "^0.54.8",
"tsd": "^0.15.1",
"yaml": "^1.10.0"
}
}