* add command to fix templates * replaceAll and lint fixes * fixed menu * fix lint command and run it * add basic error handling for listing of templates * CR suggestions --------- Co-authored-by: Arwid Thornström <arwidt@gmail.com>
67 lines
1.7 KiB
JSON
67 lines
1.7 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",
|
|
"build": "yarn format && yarn clean-build && yarn compile && yarn copy-templates",
|
|
"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.5",
|
|
"@mailchimp/mailchimp_transactional": "^1.0.59",
|
|
"@octokit/core": "^3.5.1",
|
|
"chalk": "^4.1.2",
|
|
"cli-select": "^1.1.2",
|
|
"enquirer": "^2.3.6",
|
|
"gluegun": "latest",
|
|
"lodash.snakecase": "^4.1.1",
|
|
"strip-ansi": "^7.0.1",
|
|
"terminal-table-output": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.18",
|
|
"@types/node": "^12.7.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
"@typescript-eslint/parser": "^5.44.0",
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "^24.1.0",
|
|
"prettier": "^2.0.0",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-node": "^8.4.1",
|
|
"typescript": "^3.6.3"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node"
|
|
},
|
|
"prettier": {
|
|
"semi": true,
|
|
"singleQuote": true
|
|
}
|
|
}
|