-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
59 lines (59 loc) · 2.15 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
{
"name": "njs-typescript-starter",
"version": "0.0.0",
"description": "A starting template for NGINX njs scripts written in TypeScript",
"author": "Jakub Jirutka <jakub@jirutka.cz>",
"license": "MIT",
"homepage": "https://github.com/jirutka/njs-typescript-starter",
"bugs": "https://github.com/jirutka/njs-typescript-starter/issues/",
"repository": {
"type": "git",
"url": "https://github.com/jirutka/njs-typescript-starter.git"
},
"main": "dist/main.js",
"files": [
"dist",
"src"
],
"scripts": {
"build": "rollup -c --environment NODE_ENV:production",
"clean": "rm -rf dist lib node_modules/.cache",
"lint": "run-p lint:*",
"lint:eslint": "eslint --cache --cache-location node_modules/.cache/eslint --ext .ts,.js,.mjs .",
"lint:types": "tsc -b",
"prepublishOnly": "run-s build && asciidoctor -b docbook -a npm-readme -a gh-branch=v$npm_package_version -o - README.adoc | pandoc -f docbook -t gfm --shift-heading-level-by 1 --wrap preserve -o README.md",
"start": "run-p watch start-nginx",
"start-nginx": "start-nginx --version 1.24.x --port 8090 --watch dist/ integration-tests/nginx.conf",
"test": "rollup -c && mocha",
"watch": "rollup -c --watch --no-watch.clearScreen"
},
"engines": {
"node": ">= 18.12"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/plugin-transform-modules-commonjs": "^7.21.5",
"@babel/preset-typescript": "^7.21.5",
"@babel/register": "^7.21.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@types/babel__core": "~7.20.0",
"@types/mocha": "~10.0.1",
"@types/rollup-plugin-add-git-msg": "~1.1.1",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"babel-preset-njs": "^0.7.0",
"babel-register-ts": "^7.0.0",
"eslint": "^8.40.0",
"got": "^11.8.1",
"mocha": "^10.2.0",
"mocha-suite-hooks": "^0.1.0",
"nginx-testing": "^0.4.0",
"njs-types": "^0.7.12",
"npm-run-all": "^4.1.5",
"rollup": "^3.22.0",
"rollup-plugin-add-git-msg": "^1.1.0",
"typescript": "~5.0.4"
}
}