UNPKG

2.38 kBJSONView Raw
1{
2 "name": "web-contract-types",
3 "version": "1.0.9",
4 "description": "Contract types for common web application languages: HTML, JS, CSS, URL",
5 "main": "index.js",
6 "files": [
7 "index.js"
8 ],
9 "dependencies": {
10 "node-sec-patterns": "^2.0.9",
11 "template-tag-common": "^4.0.7"
12 },
13 "scripts": {
14 "cover": "istanbul cover _mocha",
15 "coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
16 "integrationtest": "scripts/run-integration-tests.sh",
17 "lint": "./node_modules/.bin/eslint .",
18 "prepack": "npm run lint && npm test && ./scripts/make-md-toc.pl README.md",
19 "test": "mocha"
20 },
21 "pre-commit": [
22 "integrationtest"
23 ],
24 "mintable": {
25 "selfNominate": [
26 "web-contract-types/TrustedHTML",
27 "web-contract-types/TrustedResourceURL",
28 "web-contract-types/TrustedScript",
29 "web-contract-types/TrustedURL"
30 ]
31 },
32 "repository": {
33 "type": "git",
34 "url": "git+https://github.com/mikesamuel/web-contract-types.git"
35 },
36 "keywords": [
37 "security",
38 "XSS",
39 "sec-roadmap",
40 "typed-string"
41 ],
42 "author": "@mikesamuel",
43 "license": "Apache-2.0",
44 "bugs": {
45 "url": "https://github.com/mikesamuel/web-contract-types/issues"
46 },
47 "homepage": "https://github.com/mikesamuel/web-contract-types#readme",
48 "devDependencies": {
49 "chai": "^4.1.2",
50 "coveralls": "^3.0.1",
51 "eslint": "^5.6.1",
52 "eslint-config-standard": "^12.0.0",
53 "eslint-config-strict": "^14.0.1",
54 "eslint-plugin-import": "^2.14.0",
55 "eslint-plugin-node": "^7.0.1",
56 "eslint-plugin-promise": "^4.0.1",
57 "eslint-plugin-standard": "^4.0.0",
58 "istanbul": "^0.4.5",
59 "mocha": "^4.0.1",
60 "mocha-lcov-reporter": "^1.3.0",
61 "pre-commit": "^1.2.2"
62 },
63 "eslintIgnore": [
64 "/coverage/**"
65 ],
66 "eslintConfig": {
67 "extends": [
68 "strict"
69 ],
70 "parserOptions": {
71 "ecmaVersion": 6,
72 "sourceType": "source",
73 "ecmaFeatures": {
74 "impliedStrict": false
75 }
76 },
77 "rules": {
78 "no-confusing-arrow": [
79 "error",
80 {
81 "allowParens": true
82 }
83 ],
84 "no-warning-comments": [
85 "error",
86 {
87 "terms": [
88 "do not submit"
89 ]
90 }
91 ],
92 "no-void": "off",
93 "strict": [
94 "error",
95 "global"
96 ]
97 }
98 }
99}