This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 1.9 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
{
"name": "nuhelmet",
"version": "0.2.8",
"description": "Content Security Policy (CSP) directive for fastify-helmet. Include some security best practices design for OWASP",
"main": "./lib",
"types": "./lib",
"author": "Matteo Vivona <[email protected]>, Riccardo Gulin <[email protected]>",
"license": "MIT",
"scripts": {
"prebuild": "npm run lint && npm run clean-build",
"build": "tsc",
"clean-build": "rimraf ./lib && mkdir lib",
"update": "npx npm-check -u",
"prettier": "prettier --loglevel warn --write \"src/**/*.{ts,tsx}\"",
"prelint": "npm run prettier",
"lint": "tslint --fix -c tslint.json -t stylish -p ./tsconfig.json",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test": "TS_NODE_PROJECT=./test/tsconfig.json tap --no-ts --node-arg=--require=ts-node/register test/**/*.ts",
"test:watch": "chokidar \"src/**/*.ts\" \"test/**/*.ts\" -c \"npm run test\" --initial",
"test:report": "npm run test | tee out.tap",
"test:reporter": "tap-mocha-reporter xunit < out.tap > junit-testresults.xml"
},
"devDependencies": {
"@types/node": "^14.0.0",
"chokidar-cli": "~2.1.0",
"fastify": "^2.8.0",
"husky": "^4.0.2",
"prettier": "^2.0.0",
"rimraf": "~3.0.0",
"tap": "^14.6.2",
"tap-mocha-reporter": "~5.0.0",
"ts-node": "^8.4.1",
"tslint": "^6.0.0",
"tslint-config-prettier": "~1.18.0",
"typescript": "~3.5.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nucleode/nuhelmet.git"
},
"keywords": [
"fastify",
"fastify-plugin",
"fastify-helmet",
"CSP",
"OWASP"
],
"bugs": {
"url": "https://github.com/nucleode/nuhelmet/issues"
},
"files": [
"/lib",
"/typings"
],
"husky": {
"hooks": {
"pre-commit": "npm run build"
}
},
"dependencies": {
"fastify-helmet": "^3.0.1",
"fastify-plugin": "^1.6.0"
}
}