UNPKG

3.17 kBJSONView Raw
1{
2 "name": "sitemap",
3 "version": "3.2.1",
4 "description": "Sitemap-generating framework",
5 "keywords": [
6 "sitemap",
7 "sitemap.xml"
8 ],
9 "homepage": "https://github.com/ekalinin/sitemap.js#readme",
10 "bugs": {
11 "url": "https://github.com/ekalinin/sitemap.js/issues"
12 },
13 "repository": {
14 "type": "git",
15 "url": "git://github.com/ekalinin/sitemap.js.git"
16 },
17 "license": "MIT",
18 "author": "Eugene Kalinin <e.v.kalinin@gmail.com>",
19 "main": "dist/index.js",
20 "types": "dist/index.d.ts",
21 "directories": {
22 "lib": "lib",
23 "test": "tests"
24 },
25 "scripts": {
26 "prepublishOnly": "sort-package-json && npm run test",
27 "test": "tsc && jest",
28 "test-perf": "node ./tests/perf.js",
29 "test:typecheck": "tsc"
30 },
31 "husky": {
32 "hooks": {
33 "pre-commit": "sort-package-json",
34 "pre-push": "npm test"
35 }
36 },
37 "eslintConfig": {
38 "env": {
39 "es6": true,
40 "jasmine": true,
41 "jest": true,
42 "node": true
43 },
44 "extends": [
45 "eslint:recommended",
46 "plugin:@typescript-eslint/recommended"
47 ],
48 "parser": "@typescript-eslint/parser",
49 "parserOptions": {
50 "ecmaVersion": 6,
51 "sourceType": "module"
52 },
53 "rules": {
54 "no-case-declarations": 0,
55 "no-console": 0,
56 "no-unused-vars": 0,
57 "react/prop-types": 0,
58 "indent": "off",
59 "no-dupe-class-members": "off",
60 "@typescript-eslint/indent": [
61 "error",
62 2
63 ],
64 "@typescript-eslint/no-parameter-properties": "off",
65 "@typescript-eslint/no-unused-vars": [
66 "error",
67 {
68 "args": "none"
69 }
70 ],
71 "@typescript-eslint/explicit-member-accessibility": "off",
72 "@typescript-eslint/interface-name-prefix": "always"
73 }
74 },
75 "jest": {
76 "collectCoverage": true,
77 "collectCoverageFrom": [
78 "lib/**/*.ts",
79 "!lib/**/*.d.ts",
80 "!node_modules/"
81 ],
82 "coverageThreshold": {
83 "global": {
84 "branches": 80,
85 "functions": 90,
86 "lines": 90,
87 "statements": 90
88 }
89 }
90 },
91 "dependencies": {
92 "lodash.chunk": "^4.2.0",
93 "lodash.padstart": "^4.6.1",
94 "whatwg-url": "^7.0.0",
95 "xmlbuilder": "^13.0.0"
96 },
97 "devDependencies": {
98 "@babel/core": "^7.4.4",
99 "@babel/plugin-proposal-class-properties": "^7.4.4",
100 "@babel/plugin-transform-typescript": "^7.4.5",
101 "@babel/preset-env": "^7.4.4",
102 "@babel/preset-typescript": "^7.3.3",
103 "@types/jest": "^24.0.12",
104 "@types/lodash.chunk": "^4.2.6",
105 "@types/lodash.padstart": "^4.6.6",
106 "@types/node": "^12.0.2",
107 "@types/url-join": "^4.0.0",
108 "@types/whatwg-url": "^6.4.0",
109 "@typescript-eslint/eslint-plugin": "^1.9.0",
110 "@typescript-eslint/parser": "^1.9.0",
111 "babel-eslint": "^10.0.1",
112 "babel-polyfill": "^6.26.0",
113 "babel-preset-minify": "^0.5.0",
114 "eslint": "^5.0.0",
115 "husky": "^3.0.0",
116 "jasmine": "^3.4.0",
117 "jest": "^24.8.0",
118 "sort-package-json": "^1.22.1",
119 "source-map": "~0.7.3",
120 "stats-lite": "^2.2.0",
121 "typescript": "^3.4.5"
122 },
123 "engines": {
124 "node": ">=6.0.0",
125 "npm": ">=4.0.0"
126 },
127 "License": "MIT"
128}