mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
55 lines
1.5 KiB
JSON
Executable file
55 lines
1.5 KiB
JSON
Executable file
{
|
|
"name": "#{REPO_NAME}#",
|
|
"version": "0.0.0",
|
|
"description": "#{DESC}#",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/#{USER_OR_ORG}#/#{REPO_NAME}#.git"
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"test": "echo DODO",
|
|
"build": "tsc && npm run cdn",
|
|
"lint:check": "eslint . --ext .ts,.tsx",
|
|
"lint": "npm run lint:check -- --fix",
|
|
"_format": "prettier '**/*.{ts,tsx,json,md}'",
|
|
"format": "npm run _format -- --write",
|
|
"format:check": "npm run _format -- --list-different"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix"
|
|
],
|
|
"*.{ts,tsx,json,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged -v"
|
|
}
|
|
},
|
|
"author": "u/#{USER_OR_ORG}#",
|
|
"license": "MIT",
|
|
"files": [
|
|
"src/",
|
|
"!src/test/",
|
|
"dist/",
|
|
"!dist/test/",
|
|
"!dist/tsconfig.tsbuildinfo"
|
|
],
|
|
"keywords": [],
|
|
"homepage": "https://github.com/#{USER_OR_ORG}#/#{REPO_NAME}#",
|
|
"devDependencies": {
|
|
"@types/node": "^16.4.9",
|
|
"typescript": "^4.3.5",
|
|
"@typescript-eslint/eslint-plugin": "^4.28.5",
|
|
"@typescript-eslint/parser": "^4.28.5",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^11.1.1",
|
|
"prettier": "^2.3.2"
|
|
}
|
|
}
|