-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 1.95 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 1.95 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@artero/svgpack",
"version": "2.2.1",
"description": "Generate reusable CSS, Tailwind v4 and SASS tokens from SVG icons and assets.",
"homepage": "https://svgpack.javierartero.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/JavierArtero/svgpack.git"
},
"author": "Javier Artero",
"license": "MIT",
"files": [
"src",
"bin",
"README.md",
"LICENSE"
],
"main": "src/index.ts",
"types": "src/types.d.ts",
"exports": {
".": "./src/index.ts",
"./components": "./src/components/index.ts"
},
"bin": {
"svgpack": "bin/svgpack"
},
"scripts": {
"docs": "cd docs && ./serve.sh",
"test": "jest",
"test:eslint": "eslint src/",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"build": "tsc",
"test:build": "npm run build && npm run test",
"prepare": "node -e \"if(process.env.npm_config_global !== 'true' && !process.env.CI) { try { require('husky').install() } catch(e) { /* husky not available */ } }\""
},
"keywords": [
"svg",
"css",
"variables",
"css-variables",
"scss",
"sass",
"icons",
"images",
"optimization",
"build-tool"
],
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"globby": "^11.1.0",
"lodash": "^4.17.21",
"minimist": "^1.2.8",
"ora": "^5.4.1",
"svgo": "^3.0.2",
"to-slug-case": "^1.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@babel/preset-env": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@types/jest": "^29.5.0",
"@types/react": ">=19.0.0",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"react": ">=19.0.0"
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"eslint --fix"
]
}
}