refactor: rewrite in typescript (#7)
This commit is contained in:
30
package.json
30
package.json
@@ -2,7 +2,13 @@
|
||||
"name": "create-payload-app",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"create-payload-app": "bin/cli.js"
|
||||
"create-payload-app": "dist/index.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc && yarn copyfiles",
|
||||
"copyfiles": "copyfiles -u 1 \"src/templates/**\" dist",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"lint": "eslint \"src/**/*.ts\""
|
||||
},
|
||||
"files": [
|
||||
"package.json",
|
||||
@@ -16,6 +22,7 @@
|
||||
"arg": "^5.0.0",
|
||||
"chalk": "^4.1.0",
|
||||
"command-exists": "^1.2.9",
|
||||
"degit": "^2.8.4",
|
||||
"execa": "^5.0.0",
|
||||
"figures": "^3.2.0",
|
||||
"fs-extra": "^9.0.1",
|
||||
@@ -23,5 +30,24 @@
|
||||
"prompts": "^2.4.0",
|
||||
"terminal-link": "^2.1.1"
|
||||
},
|
||||
"version": "0.1.22"
|
||||
"version": "0.1.22",
|
||||
"devDependencies": {
|
||||
"@types/command-exists": "^1.2.0",
|
||||
"@types/degit": "^2.8.3",
|
||||
"@types/fs-extra": "^9.0.12",
|
||||
"@types/jest": "^27.0.1",
|
||||
"@types/node": "^16.6.2",
|
||||
"@types/prompts": "^2.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.29.2",
|
||||
"@typescript-eslint/parser": "^4.29.2",
|
||||
"copyfiles": "^2.4.1",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"jest": "^27.0.6",
|
||||
"prettier": "^2.3.2",
|
||||
"ts-jest": "^27.0.5",
|
||||
"typescript": "^4.3.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user