-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.25 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
{
"name": "typescript-snippets",
"version": "0.0.1",
"private": true,
"scripts": {
"check": "tsc",
"coverage": "nyc --include 'snippets/**/*.ts' npm test -- -R dot",
"coverage:ideas": "nyc --include 'ideas/**/*.ts' npm run test:ideas -- -R dot",
"format": "prettier --write snippets",
"format:ideas": "prettier --write ideas",
"start": "run-s format check test coverage",
"start:ideas": "run-s format:ideas check test:ideas coverage:ideas",
"test": "mocha 'snippets/**/*.test.ts'",
"test:ideas": "mocha 'ideas/**/*.test.ts'"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.8.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"prettier": {
"importOrder": [
"../",
"./"
],
"importOrderSortSpecifiers": true,
"importOrderGroupNamespaceSpecifiers": true,
"trailingComma": "all"
},
"mocha": {
"require": "ts-node/register"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"check-coverage": true
}
}