generated from ForbesLindesay/npm-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 1.92 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "jskube",
"description": "Configure Kuberenetes using TypeScript & JavaScript",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"jskube": "./lib/cli.js"
},
"files": [
"lib/",
"schema/"
],
"repository": "git@github.com:ForbesLindesay/jskube.git",
"author": "Forbes Lindesay <forbes@lindesay.co.uk>",
"license": "MIT",
"scripts": {
"build": "tsc",
"postbuild": "rimraf lib/**/__tests__",
"lint": "tslint './src/**/*.{ts,tsx}' -t verbose -p .",
"prettier:write": "prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"prettier:check": "prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"test": "jest",
"ci:test": "jest --silent --maxWorkers=2"
},
"devDependencies": {
"@forbeslindesay/tsconfig": "^2.0.0",
"@types/jest": "^24.0.18",
"@types/js-yaml": "^3.12.1",
"@types/tmp": "^0.1.0",
"husky": "^3.0.8",
"jest": "^24.9.0",
"json-schema-to-typescript": "^7.1.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"throat": "^5.0.0",
"ts-jest": "^24.1.0",
"ts-node": "^8.5.2",
"tslint": "^5.20.0",
"typescript": "^3.6.4"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testEnvironment": "node",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts?(x)"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"prettier --write",
"tslint -t verbose -p .",
"git add"
],
"*.{md,json,yaml,js,jsx}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"js-yaml": "^3.13.1",
"tmp": "^0.1.0"
}
}