-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.6 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.6 KB
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
{
"name": "urisanity",
"description": "vet URIs in web and web-like applications with confidence",
"version": "0.1.6",
"main": "dist/urisanity.cjs.js",
"module": "dist/urisanity.es.js",
"browser": "dist/urisanity.js",
"typings": "./types/index.d.ts",
"files": [
"dist",
"examples",
"types",
"CHANGELOG.md",
"LICENSE",
"package-lock.json",
"README.md"
],
"scripts": {
"lint": "standard --fix",
"test": "jest --config=jest.conf.json",
"test:coverage": "jest --coverage",
"format:json": "prettier --write --parser json '**/*.json'",
"format:md": "prettier --write --parser markdown '**/*.md'",
"format:js": "prettier --write '{src,tests}/*.js'",
"prebuild": "rimraf dist/**",
"build": "cross-env npm run prebuild && npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:cjs",
"build:umd": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f umd -o dist/urisanity.js",
"build:umd:min": "cross-env NODE_ENV=production BABEL_ENV=rollup rollup -c -f umd -o dist/urisanity.min.js",
"build:es": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f es -o dist/urisanity.es.js",
"build:cjs": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f cjs -o dist/urisanity.cjs.js"
},
"pre-commit": [
"lint",
"build"
],
"standard": {
"global": [
"global",
"self"
],
"ignore": [
"/.github",
"/examples",
"/tests"
]
},
"devDependencies": {
"@babel/plugin-external-helpers": "7.12.13",
"babel": "^6.23.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"cross-env": "^7.0.3",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^23.6.0",
"pre-commit": "^1.2.2",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"rollup": "^0.68.2",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^8.4.1",
"rollup-plugin-includepaths": "^0.2.3",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-watch": "^4.3.1",
"standard": "^16.0.4"
},
"dependencies": {},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git://github.com/codesplinta/URISanity.git"
},
"keywords": [
"xss",
"URI",
"sanitization"
],
"author": "Ifeora Okechukwu <isocroft@gmail.com> (https://isocroft.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/codesplinta/URISanity/issues"
},
"homepage": "https://github.com/codesplinta/URISanity"
}