Having the `scripts` dir re-use all packages from the top-level was getting quite unwieldy. Created new `tools` directory that is part of the workspace. Packages are exported with the `@tools` package namespace.
35 lines
995 B
JSON
35 lines
995 B
JSON
{
|
|
"name": "@tools/scripts",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"keywords": [],
|
|
"license": "ISC",
|
|
"author": "",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts"
|
|
}
|
|
},
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build-template-with-local-pkgs": "pnpm runts src/build-template-with-local-pkgs.ts",
|
|
"gen-templates": "pnpm runts src/generate-template-variations.ts",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"pack-all-to-dest": "pnpm runts src/pack-all-to-dest.ts",
|
|
"runts": "cross-env NODE_OPTIONS=--no-deprecation node --no-deprecation --import @swc-node/register/esm-register",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"dependencies": {
|
|
"@swc-node/register": "1.10.9",
|
|
"@tools/constants": "workspace:*",
|
|
"@tools/releaser": "workspace:*",
|
|
"chalk": "^4.1.2",
|
|
"changelogen": "^0.5.5",
|
|
"create-payload-app": "workspace:*",
|
|
"open": "^10.1.0"
|
|
}
|
|
}
|