-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.31 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.31 KB
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
{
"name": "typescript-library-boilerplate",
"version": "1.0.0",
"description": "A personal TypeScript Boilerplate for a Library",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "Sylvain Desvé <sylvain.desve@gmail.com>",
"license": "GPL-3.0-or-later",
"scripts": {
"clean": "npm-run-all clean:*",
"clean:build": "rm -Rf lib",
"clean:dist": "rm -Rf ./dist",
"clean:reports": "rm -Rf ./reports",
"compile": "npm run clean:build && tsc",
"build": "npm run bundle",
"bundle": "webpack",
"doc": "npm-run-all doc:generate doc:add-theme",
"doc:generate": "typedoc",
"doc:add-theme": "printf 'theme: jekyll-theme-cayman' > ./dist/pages/_config.yml",
"lint": "tslint -c tslint.json \"src/**/*.ts\"",
"lint:fix": "tslint --fix -c tslint.json \"src/**/*.ts\"",
"prettier": "prettier --write \"{src,spec}/**/*.ts\"",
"pages": "npm-run-all clean:dist test test:mutate doc pages:copy-reports",
"pages:copy-reports": "cp -Rf ./reports ./dist/pages/",
"test": "nyc mocha \"spec/**/*.spec.ts\"",
"test:mutate": "stryker run",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint"
},
"files": [
"dist/arkham-odds.js",
"lib",
"spec",
"src"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"tslint --fix -c tslint.json",
"prettier --write"
]
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@stryker-mutator/core": "^4.2.0",
"@stryker-mutator/html-reporter": "^3.1.0",
"@stryker-mutator/mocha-framework": "^4.0.0",
"@stryker-mutator/mocha-runner": "^4.2.0",
"@stryker-mutator/typescript": "^4.0.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"awesome-typescript-loader": "^5.2.1",
"chai": "^4.2.0",
"husky": "^4.3.5",
"lint-staged": "^10.5.3",
"mocha": "^8.2.1",
"mochawesome": "^6.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"source-map-support": "^0.5.19",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typedoc": "^0.19.2",
"typescript": "4.0.5",
"webpack": "^5.10.0",
"webpack-cli": "^4.2.0"
}
}