69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"name": "pwcli",
|
|
"version": "1.0.0",
|
|
"description": "pwcli CLI",
|
|
"private": true,
|
|
"types": "build/types/types.d.ts",
|
|
"bin": {
|
|
"pwcli": "bin/pwcli"
|
|
},
|
|
"scripts": {
|
|
"format": "prettier --write './**/*.{js,ts,json}'",
|
|
"clean-build": "rm -rf ./build",
|
|
"compile": "tsc -p .",
|
|
"copy-templates": "if [ -e ./src/templates ]; then cp -a ./src/templates ./build/; fi",
|
|
"copy-promptcontextlibrary-txts": "mkdir -p build/commands/ai/promptcontextlibrary && cp src/commands/ai/promptcontextlibrary/*.txt build/commands/ai/promptcontextlibrary/ || true",
|
|
"build": "yarn format && yarn clean-build && yarn compile && yarn copy-templates && yarn copy-promptcontextlibrary-txts",
|
|
"prepublishOnly": "yarn build",
|
|
"test": "jest",
|
|
"watch": "jest --watch",
|
|
"snapupdate": "jest --updateSnapshot",
|
|
"coverage": "jest --coverage"
|
|
},
|
|
"files": [
|
|
"tsconfig.json",
|
|
"tslint.json",
|
|
"build",
|
|
"LICENSE",
|
|
"readme.md",
|
|
"docs",
|
|
"bin"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@lenne.tech/gluegun-menu": "^0.0.7",
|
|
"@mailchimp/mailchimp_transactional": "^1.0.59",
|
|
"@octokit/core": "4.2.0",
|
|
"chalk": "^4.1.2",
|
|
"cli-select": "^1.1.2",
|
|
"clipboardy": "2.3.0",
|
|
"enquirer": "^2.4.1",
|
|
"gluegun": "latest",
|
|
"lodash.snakecase": "^4.1.1",
|
|
"strip-ansi": "^7.1.0",
|
|
"terminal-table-output": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^24.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
"@typescript-eslint/parser": "^8.34.0",
|
|
"eslint": "^9.29.0",
|
|
"eslint-config-prettier": "^10.1.5",
|
|
"eslint-plugin-prettier": "^5.4.1",
|
|
"jest": "^30.0.0",
|
|
"prettier": "^3.5.3",
|
|
"ts-jest": "^29.4.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node"
|
|
},
|
|
"prettier": {
|
|
"semi": true,
|
|
"singleQuote": true
|
|
}
|
|
}
|