forked from screepers/typed-screeps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.57 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
{
"name": "typed-screeps",
"version": "3.0.1",
"description": "Strong TypeScript declarations for the game Screeps.",
"repository": "screepers/typed-screeps",
"types": "./dist/index.d.ts",
"files": [
"dist/index.d.ts"
],
"scripts": {
"compile:dtslint": "node ./build/concat.js && node ./build/prependHeader.js",
"compile": "npm run compile:dtslint && node ./build/prependDescription.js",
"dtslint": "npm run compile:dtslint && dtslint dist",
"format": "npm run format:build && npm run format:src",
"format:build": "prettier --write 'build/**/*.js'",
"format:src": "prettier --write 'src/**/*.ts'",
"lint": "tslint -p tsconfig.json 'src/**/*.ts'",
"lint:test": "tslint -p dist/tsconfig.json 'dist/screeps-tests.ts'",
"pre-commit": "npm run compile && git add dist/index.d.ts",
"prepare": "npm test",
"test": "npm run dtslint"
},
"keywords": [
"Screeps",
"API",
"Typescript",
"Autocomplete"
],
"author": "Marko Sulamagi <[email protected]>",
"license": "MIT",
"devDependencies": {
"concat-files": "^0.1.1",
"copy": "^0.3.2",
"dtslint": "0.4.9",
"husky": "^2.2.0",
"lint-staged": "^8.1.6",
"prepend": "^1.0.2",
"prettier": "^1.15.3",
"rimraf": "^2.6.2",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.4.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run pre-commit"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"git add"
]
}
}