55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "create-payload-app",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"bin": {
|
|
"create-payload-app": "bin/cli.js"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm pack-template-files && pnpm typecheck && pnpm build:swc",
|
|
"typecheck": "tsc",
|
|
"pack-template-files": "tsx src/scripts/pack-template-files.ts",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc",
|
|
"clean": "rimraf {dist,*.tsbuildinfo}",
|
|
"test": "jest",
|
|
"prepublishOnly": "pnpm test && pnpm clean && pnpm build"
|
|
},
|
|
"files": [
|
|
"package.json",
|
|
"dist",
|
|
"bin"
|
|
],
|
|
"dependencies": {
|
|
"@clack/prompts": "^0.7.0",
|
|
"@sindresorhus/slugify": "^1.1.0",
|
|
"arg": "^5.0.0",
|
|
"chalk": "^4.1.0",
|
|
"command-exists": "^1.2.9",
|
|
"comment-json": "^4.2.3",
|
|
"degit": "^2.8.4",
|
|
"detect-package-manager": "^3.0.1",
|
|
"esprima": "^4.0.1",
|
|
"execa": "^5.0.0",
|
|
"figures": "^6.1.0",
|
|
"fs-extra": "^9.0.1",
|
|
"globby": "11.1.0",
|
|
"terminal-link": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/command-exists": "^1.2.0",
|
|
"@types/degit": "^2.8.3",
|
|
"@types/esprima": "^4.0.6",
|
|
"@types/fs-extra": "^9.0.12",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/node": "^16.6.2"
|
|
},
|
|
"exports": {
|
|
"./commands": {
|
|
"import": "./src/lib/init-next.ts",
|
|
"require": "./src/lib/init-next.ts",
|
|
"types": "./src/lib/init-next.ts"
|
|
}
|
|
}
|
|
}
|