-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.46 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.46 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
{
"name": "gptcommit",
"version": "1.0.1",
"main": "dist/index.mjs",
"author": "M Gilang Januar",
"license": "MIT",
"type": "module",
"private": false,
"scripts": {
"build": "rimraf dist && tsc --noEmit false",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"package": "find dist/ -depth -name \"*.mjs\" -exec sh -c 'mv \"$1\" \"${1%.mjs}.js\"' _ {} \\; && find dist -type f -print0 | xargs -0 sed -i '' 's/\\.mjs//g' && cp ./package.pkg.json ./dist/package.json && cd dist && ncc build -o ./build ./index.js && cp ../package.pkg.json ./build/package.json && cd ./build && pkg package.json && mv gptcommit-macos gptcommit && tar -czf gptcommit.tar.gz gptcommit && shasum -a 256 gptcommit.tar.gz"
},
"bin": {
"gptcommit": "./dist/index.mjs"
},
"pkg": {
"scripts": "./dist/build/index.mjs",
"assets": [
"./dist/build"
],
"target": [
"node18-macos-arm64"
]
},
"preferGlobal": true,
"devDependencies": {
"@types/commander": "^2.12.2",
"@types/configstore": "^6.0.0",
"@types/inquirer": "^9.0.3",
"@types/node": "^18.14.5",
"@types/ora": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@vercel/ncc": "^0.36.1",
"eslint": "^8.35.0",
"pkg": "^5.8.1",
"rimraf": "^4.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"axios": "^1.3.4",
"commander": "^10.0.0",
"configstore": "^6.0.0",
"inquirer": "^9.1.4",
"ora": "^6.1.2"
}
}