@shibaoxu/shibaoxu-toy
Version:
learning build npm package
48 lines (47 loc) • 1.28 kB
JSON
{
"name": "@shibaoxu/shibaoxu-toy",
"version": "1.0.10",
"description": "learning build npm package",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"lint": "tslint -p tsconfig.json",
"format": "prettier --write \"src/**/*.ts\"",
"build": "tsc",
"test": "jest --config jestconfig.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shibaoxu/shibaoxu-toy.git"
},
"keywords": [
"node",
"learning",
"toy"
],
"author": "shibaoxu <shibaoxu@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/shibaoxu/shibaoxu-toy/issues"
},
"homepage": "https://github.com/shibaoxu/shibaoxu-toy#readme",
"devDependencies": {
"@types/jest": "^26.0.3",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"ts-jest": "^26.1.1",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.9.5"
},
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"files": [
"lib/**/*"
]
}