-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
27 lines (27 loc) · 958 Bytes
/
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
{
"name": "typescript",
"version": "0.1.0",
"license": "MIT",
"main": "build/index.js",
"scripts": {
"postinstall": "echo \"#!/bin/sh\nyarn run precommit\ngit update-index --add .\" > .git/hooks/pre-commit && chmod a+x .git/hooks/pre-commit",
"precommit": "yarn run test && yarn run prestart && yarn run document",
"prestart": "rm -rf ./build && tsc -p src/tsconfig-src.json",
"start": "node ./build",
"lint": "tslint src/**/*.ts",
"pretest": "yarn run lint && rm -rf ./test && tsc -p src/tsconfig-test.json",
"test": "mocha test",
"document": "rm -rf ./doc && typedoc --tsconfig src/tsconfig-src.json --out ./docs ./src/ && touch ./docs/.nojekyll"
},
"dependencies": {
"@types/chai": "^3.5.0",
"@types/mocha": "^2.2.40",
"@types/node": "^7.0.12",
"chai": "^3.5.0",
"mocha": "^3.2.0",
"tslib": "^1.6.0",
"tslint": "^5.1.0",
"typedoc": "^0.5.10",
"typescript": "^2.2.2"
}
}