-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.25 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.25 KB
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
{
"name": "@spectrum-css/tokens",
"version": "11.3.0",
"description": "The Spectrum CSS tokens package",
"license": "Apache-2.0",
"author": "Adobe",
"homepage": "https://opensource.adobe.com/spectrum-css/",
"repository": {
"type": "git",
"url": "https://github.com/adobe/spectrum-css.git",
"directory": "components/tokens"
},
"bugs": {
"url": "https://github.com/adobe/spectrum-css/issues"
},
"main": "dist/index.css",
"scripts": {
"prebuild": "rimraf dist/*",
"build": "run-s convert:tokens css:prepare format:results clean:empty",
"build:tokens": "style-dictionary build --config style-dictionary.config.js && postcss --replace dist/css/*.css",
"clean:empty": "find dist -type f -empty -delete",
"concat:dist": "concat-cli -f dist/css/*.css dist/css/**/*.css -o dist/index.css",
"convert:tokens": "run-p build:tokens copy:*",
"copy:express": "postcss --dir dist/css/express/ custom-express/*.css",
"copy:spectrum": "postcss --dir dist/css/spectrum/ custom-spectrum/*.css",
"css:prepare": "yarn concat:dist && postcss --replace dist/index.css",
"format:results": "prettier --no-config --no-error-on-unmatched-pattern --ignore-unknown --loglevel silent --write dist/"
},
"devDependencies": {
"@adobe/spectrum-tokens": "0.0.0-s2-20230810215532",
"concat-cli": "^4.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-discard-comments": "^6.0.0",
"postcss-discard-empty": "^6.0.0",
"postcss-licensing": "^1.0.1",
"postcss-merge-rules": "^6.0.0",
"postcss-rgb-mapping": "^1.0.1",
"postcss-sorting": "^8.0.2",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"style-dictionary": "^3.8.0",
"style-dictionary-sets": "^2.3.0"
},
"publishConfig": {
"access": "public"
},
"nx": {
"targets": {
"build": {
"inputs": [
"{workspaceRoot}/postcss.config.js",
"{workspaceRoot}/style-dictionary.config.js",
"{workspaceRoot}/utilities/style-dictionary.utils.js",
"{workspaceRoot}/custom-express/*.css",
"{workspaceRoot}/custom-spectrum/*.css"
]
}
},
"includedScripts": [
"build"
]
}
}