-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
59 lines (59 loc) · 2.11 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
{
"name": "@moda/icons",
"version": "0.0.0-development",
"description": "Site-wide icon library for modaoperandi.com",
"author": "dzucconi",
"license": "MIT",
"repository": "https://github.com/ModaOperandi/icons",
"main": "dist/index.js",
"browserslist": "> 0.25%, not dead",
"scripts": {
"build": "NODE_ENV=production npm run clean && npm run optimize && node scripts/build && npm run compile",
"clean": "rm -rf dist && rm -rf build",
"commitlint": "commitlint",
"compile": "tsc -p . && cp build/src/package.json dist/package.json && cp build/src/*.liquid dist",
"local:link": "cd example && yalc add @moda/icons && npm install",
"local:preview": "npm run local:refresh && npm run start",
"local:publish": "npm run build && yalc publish",
"local:refresh": "npm run local:publish && npm run local:link",
"local:restore": "cd example && yalc remove --all && npm install",
"optimize": "rm -rf build/svg && svgo src/svg -o build/svg --config=svgo.config.js",
"postpublish": "pinst --enable",
"predeploy": "npm run build && cd example && npm install && npm run build",
"prepare": "husky && echo ''",
"prepublishOnly": "pinst --disable",
"release": "npm run build && cd dist && npm publish",
"semantic-release": "semantic-release",
"start": "cd example && npm run start",
"tsc": "tsc"
},
"peerDependencies": {
"react": ">=16.2.0"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@semantic-release/npm": "^12.0.1",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"@types/react": "^19.0.8",
"cz-conventional-changelog": "^3.3.0",
"fs-extra": "^11.3.0",
"glob": "^11.0.1",
"hast-util-to-html": "^9.0.4",
"husky": "^9.1.7",
"pinst": "^3.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"semantic-release": "^24.2.2",
"semantic-release-npm-github": "^5.0.0",
"svgo": "^3.3.2",
"typescript": "^5.7.3",
"yalc": "^1.0.0-pre.53"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}