This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
forked from amzn/style-dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.16 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
{
"name": "style-dictionary",
"version": "2.10.2",
"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",
"bin": {
"style-dictionary": "./bin/style-dictionary"
},
"engines": {
"node": ">=8.0.0"
},
"files": [
"bin",
"lib",
"examples",
"index.js",
"LICENSE",
"NOTICE"
],
"scripts": {
"lint": "eslint --fix index.js lib/**/*.js __tests__/**/*.js",
"test": "npm run lint && jest --runInBand",
"test-watch": "npm run lint && jest --runInBand --watch",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- test/*.js test/**/*.js",
"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,
"roots": [
"__tests__"
],
"testPathIgnorePatterns": [
"/__tests__/__helpers.js",
"/__tests__/__assets/",
"/__tests__/__configs/",
"/__tests__/__json_files/",
"/__tests__/__properties/",
"/__tests__/__output/"
],
"transform": {
"^.+\\.json5$": "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/amzn/style-dictionary.git"
},
"author": "Amazon",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/amzn/style-dictionary/issues"
},
"contributors": [
"Yuliya Baran <[email protected]>",
"Charles Dorner <[email protected]>",
"Dustin Boudreau <[email protected]>",
"Danny Banks <[email protected]>"
],
"homepage": "https://github.com/amzn/style-dictionary",
"dependencies": {
"chalk": "^4.0.0",
"commander": "^5.1.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"json5": "^2.1.3",
"lodash": "^4.17.15",
"resolve-cwd": "^3.0.0",
"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.11.3",
"docsify-cli": "^4.4.0",
"eslint": "^6.8.0",
"husky": "^4.2.5",
"istanbul": "^0.4.5",
"jest": "^25.4.0",
"jsdoc-escape-at": "^1.0.1",
"jsdoc-to-markdown": "^6.0.1",
"json5-jest": "^1.0.1",
"less": "^3.11.2",
"lint-staged": "^10.2.7",
"node-sass": "^4.14.1",
"standard-version": "^9.0.0"
}
}