-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
37 lines (37 loc) · 1.59 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
{
"name": "spark-tokens",
"version": "1.0.0",
"description": "A tool for synchronizing Spark design tokens between Figma and our three platforms (web, Android, iOS).",
"brand": "spark",
"scripts": {
"prebuild": "node helpers/actions/assets/utils/generatePaths.js ${npm_package_brand} && node helpers/transforms/designTokensCore.js ${npm_package_brand} && node helpers/transforms/designTokensThemes.js ${npm_package_brand}",
"build": "node build.js ${npm_package_brand}",
"postbuild": "npm test",
"start": "npm run build && chokidar \"tokens/**/*\" -c \"npm run build\"",
"svg2avd": "rm -rf build/android/dist/spark/icons && mkdir -p build/android/dist/spark/icons && ./spark-android/scripts/svg2avd/svg2avd.main.kts --input=\"assets/spark/icons\" --output=\"build/android/dist/spark/icons\" --prefix=\"spark_icons_\" --copyright=\"spark-android/scripts/svg2avd/COPYRIGHT.xml\"",
"test": "node helpers/actions/assets/utils/testSVGIcons.js ${npm_package_brand}"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adevinta/spark-tokens.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/adevinta/spark-tokens/issues"
},
"homepage": "https://github.com/adevinta/spark-tokens#readme",
"devDependencies": {
"@svgdotjs/svg.js": "^3.2.0",
"change-case": "^4.1.2",
"chokidar-cli": "^3.0.0",
"chroma-js": "^2.4.2",
"fs-extra": "^11.1.0",
"lodash": "^4.17.21",
"sharp": "^0.31.3",
"style-dictionary": "^3.7.2",
"svg2vectordrawable": "^2.9.1",
"svgdom": "^0.1.14",
"svgo": "^3.0.2",
"xml2js": "^0.6.2"
}
}