forked from haiilo/catalyst-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.55 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
{
"name": "@haiilo/catalyst-icons",
"version": "2.2.2",
"description": "Icon set for Catalyst Design System",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/haiilo/catalyst-icons.git"
},
"main": "dist/js/index.js",
"files": [
"src",
"dist/js",
"dist/ts"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"prepare": "node prepare.js",
"svgo": "svgo -f ./src -o ./src",
"svgts:object": "svg-to-ts-object -s './src/**/*.svg' -f icons.object -o ./dist/ts -d KEBAB --objectName ci",
"svgts:constants": "svg-to-ts-constants -s './src/**/*.svg' -i CoyoIcon -t coyoIcon -p ci -f icons.constants -o ./dist/ts -d KEBAB --completeIconSetName ciAll",
"transpile": "node transpile.js",
"tsc": "tsc",
"docs": "cp index.html dist && sed -e '/${CI}/r ./dist/js/icons.object.js' -e '/${CI}/d' index.html > ./dist/index.html",
"prebuild": "npm run clean",
"build": "run-s svgts:** transpile tsc docs",
"release": "standard-version",
"release:patch": "standard-version --release-as patch",
"release:minor": "standard-version --release-as minor",
"release:major": "standard-version --release-as major",
"clean": "rm -rf ./dist ./tmp",
"reset": "rm -rf ./dist ./tmp ./node_modules"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"standard-version": "^9.5.0",
"svg-to-ts": "^10.1.0",
"svgo": "^3.0.2",
"typescript": "^5.2.2"
}
}