-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
43 lines (43 loc) · 1.76 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
{
"name": "@jspolicy/jspolicy-typescript-starter",
"version": "0.0.1",
"description": "A simple project that shows how to use typescript with jspolicy",
"main": "dist/index.js",
"typings": "dist/index",
"files": [
"dist/**/!(bundle).*"
],
"dependencies": {},
"devDependencies": {
"@jspolicy/types": "^0.0.3",
"@jspolicy/webpack-plugin": "^0.0.5",
"@kubernetes/client-node": "^0.14.3",
"@types/jest": "^26.0.23",
"concurrently": "^6.0.2",
"jest": "^26.0.23",
"nodemon": "^2.0.7",
"ts-jest": "^26.0.23",
"tsc-watch": "^4.2.9",
"typescript": "^4.2.4",
"webpack": "^5.36.2",
"webpack-cli": "^4.6.0"
},
"scripts": {
"compile": "tsc && npm run bundle",
"compile-clean": "rm -rf dist/ && tsc && npm run bundle",
"bundle": "webpack --config webpack.config.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Webpack\" -c \"yellow.bold,cyan.bold\" \"npm run watch-tsc\" \"npm run watch-webpack\"",
"watch-apply": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Webpack,kubectl\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-tsc\" \"npm run watch-webpack\" \"nodemon --watch policies -e yaml,yml --exec \\\"kubectl apply -f policies/\\\"\"",
"watch-test": "nodemon --watch policies -e yaml,yml --exec \"kubectl apply -f policies/\"",
"watch-tsc": "tsc && tsc-watch --onSuccess \"npm run bundle\"",
"watch-webpack": "nodemon --watch src -e yaml,yml --exec \"webpack --config webpack.config.js\"",
"test": "jest --env=node --colors --coverage test",
"prepublishOnly": "npm run test && npm run compile-clean"
},
"author": "Loft Labs, Inc.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "github.com/loft-sh/jspolicy-typescript-starter"
}
}