-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.14 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
{
"name": "create-retes-app",
"version": "0.2.0",
"description": "",
"main": "dist/cli.js",
"type": "module",
"bin": {
"create-retes-app": "dist/cli.js"
},
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "rm -rf ./package && pnpm build && clean-publish",
"build": "esbuild src/cli.ts --bundle --minify --outfile=dist/cli.js --platform=node --format=esm --target=node16 --banner:js=\"import { createRequire } from 'module';const require = createRequire(import.meta.url);import { dirname } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url));\" --out-extension:.js=.js"
},
"keywords": [],
"author": "Zaiste",
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^18.11.18",
"@types/yargs": "^17.0.19",
"clean-publish": "^4.1.1",
"tsm": "^2.3.0",
"typescript": "^4.9.4"
},
"dependencies": {
"picocolors": "^1.0.0",
"tegit": "^0.3.0",
"yargs": "^17.6.2"
},
"publishConfig": {
"access": "public",
"directory": "package"
},
"clean-publish": {
"withoutPublish": true,
"tempDir": "package"
}
}