1 | {
|
2 | "name": "web-contract-types",
|
3 | "version": "1.0.3",
|
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.3",
|
11 | "template-tag-common": "^4.0.2"
|
12 | },
|
13 | "scripts": {
|
14 | "cover": "istanbul cover _mocha",
|
15 | "coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
|
16 | "lint": "./node_modules/.bin/eslint .",
|
17 | "prepack": "npm run lint && npm test && ./scripts/make-md-toc.pl README.md",
|
18 | "test": "mocha"
|
19 | },
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "git+https://github.com/mikesamuel/web-contract-types.git"
|
23 | },
|
24 | "keywords": [
|
25 | "security",
|
26 | "XSS",
|
27 | "sec-roadmap",
|
28 | "typed-string"
|
29 | ],
|
30 | "author": "@mikesamuel",
|
31 | "license": "Apache-2.0",
|
32 | "bugs": {
|
33 | "url": "https://github.com/mikesamuel/web-contract-types/issues"
|
34 | },
|
35 | "homepage": "https://github.com/mikesamuel/web-contract-types#readme",
|
36 | "devDependencies": {
|
37 | "chai": "^4.1.2",
|
38 | "coveralls": "^3.0.1",
|
39 | "eslint": "^4.19.1",
|
40 | "eslint-config-strict": "^14.0.1",
|
41 | "istanbul": "^0.4.5",
|
42 | "mocha": "^4.0.1",
|
43 | "mocha-lcov-reporter": "^1.3.0",
|
44 | "pre-commit": "^1.2.2"
|
45 | },
|
46 | "eslintIgnore": [
|
47 | "/coverage/**"
|
48 | ],
|
49 | "eslintConfig": {
|
50 | "extends": [
|
51 | "strict"
|
52 | ],
|
53 | "parserOptions": {
|
54 | "ecmaVersion": 6,
|
55 | "sourceType": "source",
|
56 | "ecmaFeatures": {
|
57 | "impliedStrict": false
|
58 | }
|
59 | },
|
60 | "rules": {
|
61 | "no-confusing-arrow": [
|
62 | "error",
|
63 | {
|
64 | "allowParens": true
|
65 | }
|
66 | ],
|
67 | "no-warning-comments": [
|
68 | "error",
|
69 | {
|
70 | "terms": [
|
71 | "do not submit"
|
72 | ]
|
73 | }
|
74 | ],
|
75 | "no-void": "off",
|
76 | "strict": [
|
77 | "error",
|
78 | "global"
|
79 | ]
|
80 | }
|
81 | }
|
82 | }
|