generated from shgysk8zer0/npm-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.68 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@aegisjsproject/sanitizer",
"version": "0.1.3",
"description": "A polyfill for the Sanitizer API with various sanitizer configs",
"keywords": [
"aegis",
"dom",
"html",
"css",
"secure",
"sanitizer-api"
],
"type": "module",
"main": "./sanitizer.cjs",
"module": "./sanitizer.js",
"unpkg": "./polyfill.js",
"exports": {
".": {
"import": "./sanitizer.js",
"require": "./sanitizer.cjs"
},
"./config/*.js": {
"import": "./config/*.js",
"require": "./config/*.cjs"
},
"./*.js": {
"import": "./*.js",
"require": "./*.cjs"
},
"./*.mjs": {
"import": "./*.js",
"require": "./*.cjs"
},
"./*.cjs": {
"import": "./*.js",
"require": "./*.cjs"
},
"./*": {
"import": "./*.js",
"require": "./*.cjs"
}
},
"engines": {
"node": ">=18.0.0"
},
"private": false,
"config": {
"serve": {
"domain": "localhost",
"path": "./",
"port": 8080
}
},
"scripts": {
"test": "npm run lint:js && npm run build",
"start": "http-server ${npm_package_config_serve_path} -c-1 --port ${npm_package_config_serve_port} --gzip true --brotli true -a ${npm_package_config_serve_domain} -o /test/",
"preversion": "npm test",
"prepare": "npm run build",
"lint:js": "eslint .",
"fix:js": "eslint . --fix",
"build": "npm run build:js",
"clean": "rm -f ./*.cjs",
"build:js": "npm run clean && rollup -c rollup.config.js",
"create:lock": "npm i --package-lock-only --ignore-scripts --no-audit --no-fund",
"version:bump": "npm run version:bump:patch",
"version:bump:patch": "npm version --no-git-tag-version patch && npm run create:lock",
"version:bump:minor": "npm version --no-git-tag-version minor && npm run create:lock",
"version:bump:major": "npm version --no-git-tag-version major && npm run create:lock"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AegisJSProject/sanitizer.git"
},
"author": "Chris Zuber <admin@kernvalley.us>",
"license": "MIT",
"funding": [
{
"type": "librepay",
"url": "https://liberapay.com/shgysk8zer0"
},
{
"type": "github",
"url": "https://github.com/sponsors/shgysk8zer0"
}
],
"bugs": {
"url": "https://github.com/AegisJSProject/sanitizer/issues"
},
"homepage": "https://github.com/AegisJSProject/sanitizer#readme",
"devDependencies": {
"@aegisjsproject/trusted-types": "^1.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@shgysk8zer0/eslint-config": "^1.0.1",
"eslint": "^9.0.0",
"http-server": "^14.1.1",
"rollup": "^4.13.0"
}
}