-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.62 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 2.62 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "fantasticon",
"version": "0.0.0",
"description": "Icon font generation tool",
"repository": {
"type": "git",
"url": "git+https://github.com/tancredi/fantasticon.git"
},
"keywords": [
"icons",
"fonts",
"iconfonts",
"svg",
"vector"
],
"author": "Tancredi Trugenberger",
"bugs": {
"url": "https://github.com/tancredi/fantasticon/issues"
},
"homepage": "https://github.com/tancredi/fantasticon#readme",
"type": "module",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"fantasticon": "bin/fantasticon"
},
"license": "MIT",
"scripts": {
"test": "vitest run",
"test:watch": "vitest dev",
"build": "rimraf dist && npm run ts",
"ts": "tsup --dts --format esm,cjs src/index.ts src/cli/index.ts",
"build:package:cjs": "touch ./dist/cjs/package.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"build:cjs": "tsc --project ./tsconfig.cjs.json && npm run build:package:cjs",
"build:package:esm": "touch ./dist/esm/package.json && echo '{\"type\": \"module\"}' > ./dist/esm/package.json",
"build:esm": "tsc --project ./tsconfig.json && npm run build:package:esm",
"watch": "npm run ts -- --watch",
"typecheck": "tsc --noEmit --project tsconfig.test.json --noEmit",
"lint": "prettier --check .",
"fix": "prettier --write ."
},
"files": [
"bin/fantasticon",
"dist/**/*",
"!dist/**/{__mocks__,__tests__}/",
"templates/*.hbs"
],
"prepublish": "build",
"dependencies": {
"case": "^1.6.3",
"cli-color": "^2.0.4",
"commander": "^14.0.2",
"glob": "^13.0.0",
"handlebars": "^4.7.8",
"slugify": "^1.6.6",
"svg2ttf": "^6.0.3",
"svgicons2svgfont": "^15.0.1",
"ttf2eot": "^3.1.0",
"ttf2woff": "^3.0.0",
"ttf2woff2": "^8.0.0"
},
"devDependencies": {
"@types/cli-color": "^2.0.6",
"@types/glob": "^9.0.0",
"@types/node": "^25.0.3",
"@types/svg2ttf": "^5.0.3",
"@types/svgicons2svgfont": "^14.0.0",
"@types/ttf2eot": "^2.0.2",
"@types/ttf2woff": "^2.0.4",
"@types/ttf2woff2": "^6.0.0",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"semantic-release": "^25.0.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"rootDir": "./src",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": "./tsconfig.test.json"
}
]
}
},
"engines": {
"node": ">= 22.0"
}
}