-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "ts-node-ready",
"version": "2.0.0",
"description": "Ready for scripting Node with Typescript",
"private": true,
"keywords": [
"node",
"typescript",
"ts-node",
"tslint"
],
"homepage": "https://github.com/towertop/ts-node-ready",
"repository": {
"type": "git",
"url": "https://github.com/towertop/ts-node-ready.git"
},
"author": "towertop",
"license": "MIT",
"main": "dist/main.js",
"files": [
"dist/**/*"
],
"engines": {
"node": ">=12.4.0"
},
"scripts": {
"start": "node dist/main.js",
"build": "rollup -c rollup.config.js",
"clean": "rimraf dist/",
"dev": "cross-env TS_NODE_FILES=true ts-node src/main.ts",
"watch": "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' src/main.ts",
"lint": "tslint -c tslint.json -p tsconfig.json",
"lintFix": "tslint --fix -c tslint.json -p tsconfig.json",
"checkTyping": "tsc -p src/tsconfig.app.json --noEmit && tsc -p src/tsconfig.spec.json --noEmit",
"test": "cross-env TS_NODE_PROJECT=src/tsconfig.spec.json mocha 'src/**/*.spec.ts'",
"testWatch": "cross-env TS_NODE_PROJECT=src/tsconfig.spec.json mocha --watch 'src/**/*.spec.ts'",
"prepublishOnly": "echo \"this is a private package\" && exit 1",
"preversion": "npm install && npm run lint && npm test",
"version": "npm run clean && npm run build && git rm -f -r --ignore-unmatch src test && git add -f -A dist && git add -f package-lock.json",
"postversion": "git push --tags && git reset --hard HEAD~1",
"release": "npm version --allow-same-version $npm_package_version",
"buildDocker": "docker build -t $npm_package_name:$npm_package_version -f ./Dockerfile ."
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^6.1.0",
"@tsconfig/node12": "^1.0.7",
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.6",
"@types/node": "^12.20.10",
"@types/semver": "^7.3.5",
"builtin-modules": "^3.2.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"husky": "^3.0.2",
"lint-staged": "^9.2.1",
"mocha": "^6.0.2",
"nodemon": "^1.18.10",
"rimraf": "^2.6.3",
"rollup": "^1.27.9",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.25.3",
"ts-node": "^8.0.2",
"tslint": "^5.13.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^4.2.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"semver": "^7.3.5"
}
}