-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 2.05 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
{
"name": "@nartallax/icon-font-tool",
"version": "1.0.6",
"description": "A tool to work with icon fonts",
"main": "icon-font-tool.cjs",
"bin": {
"icon-font-tool": "icon-font-tool.cjs"
},
"type": "module",
"scripts": {
"typecheck": "cd ts && ../node_modules/typescript/bin/tsc --noEmit && cd - > /dev/null",
"build": "npm run typecheck && npm run build:prepare && npm run build:build && npm run build:append_shebang_and_move && npm run build:copy_static",
"build:prepare": "rm -rf ./target && rm -rf ./dist && mkdir ./target",
"build:build": "./node_modules/.bin/parcel build --target release --no-cache",
"build:append_shebang_and_move": "echo \"#!/usr/bin/env node\n\" > ./target/icon-font-tool.cjs && cat ./dist/icon-font-tool.js >> ./target/icon-font-tool.cjs",
"build:copy_static": "cp ./LICENSE ./target/ && cp ./README.md ./target && npm run build:cut_package",
"build:cut_package": "./node_modules/.bin/package-cutter --output ./target/package.json",
"pub": "npm run build && npm run pub:publish",
"pub:publish": "cd target && npm publish --access public && cd .."
},
"repository": {
"type": "git",
"url": "git@github.com:nartallax/icon-font-tool.git"
},
"author": "Nartallax",
"license": "0BSD",
"bugs": {
"url": "https://github.com/nartallax/icon-font-tool/issues"
},
"homepage": "https://github.com/nartallax/icon-font-tool#readme",
"devDependencies": {
"@nartallax/package-cutter": "^1.0.2",
"@parcel/packager-ts": "^2.9.3",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"eslint": "^8.38.0",
"parcel": "^2.9.3",
"parcel-resolver-ts-base-url": "^1.3.1",
"typescript": "^5.1.6"
},
"targets": {
"release": {
"source": "./ts/src/icon-font-tool.ts",
"context": "node",
"optimize": true,
"isLibrary": true,
"scopeHoist": true,
"outputFormat": "commonjs"
}
},
"dependencies": {
"create-temp-directory": "^2.4.0",
"svgtofont": "^4.0.0"
}
}