-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
65 lines (65 loc) · 1.7 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": "content-security-policy-builder",
"author": "Evan Hahn <[email protected]> (https://evanhahn.com)",
"description": "Build Content Security Policy directives.",
"version": "2.2.0",
"license": "MIT",
"keywords": [
"security",
"content",
"security",
"policy",
"csp",
"builder"
],
"homepage": "https://github.com/helmetjs/content-security-policy-builder",
"repository": {
"type": "git",
"url": "git://github.com/helmetjs/content-security-policy-builder.git"
},
"bugs": {
"url": "https://github.com/helmetjs/content-security-policy-builder/issues",
"email": "[email protected]"
},
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false,
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"LICENSE",
"README.md",
"CHANGELOG.md",
"dist"
],
"scripts": {
"pretest": "npm run lint",
"prepublishOnly": "npm run build",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint *.ts",
"lint:prettier": "prettier --check .",
"format": "prettier --write .",
"clean": "rm -rf dist",
"build": "npm run clean && tsc && npm run build:esm",
"build:esm": "sed 's/module.exports =/export default/' dist/index.js > dist/index.mjs",
"test": "ts-node test.ts"
},
"devDependencies": {
"@eslint/js": "^9.12.0",
"eslint": "^9.12.0",
"globals": "^15.11.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1"
}
}