-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
51 lines (51 loc) · 1.32 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
{
"name": "knub-command-manager",
"version": "9.1.0",
"description": "An easy-to-use library for defining and matching text-based commands with arguments and options",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"test-base": "mocha --exit -r ts-node/register",
"test": "npm run test-base src/**/*.test.ts -- --trace-warnings",
"build": "touch dist && rm -r dist && tsc",
"preversion": "npm run test",
"prepublishOnly": "npm run test && npm run build",
"watch": "touch dist && rm -r dist && tsc --watch",
"format": "prettier --write \"src/**/*.ts\""
},
"keywords": [],
"author": "Miikka <contact@mivir.fi>",
"license": "MIT",
"dependencies": {
"escape-string-regexp": "^2.0.0"
},
"devDependencies": {
"@types/chai": "^4.2.2",
"@types/escape-string-regexp": "^2.0.1",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.5",
"chai": "^4.2.0",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"mocha": "^6.2.0",
"prettier": "^2.0.5",
"ts-node": "^8.3.0",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.9.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
]
},
"files": [
"/dist"
]
}