|
2 | 2 | "name": "json-truncate", |
3 | 3 | "version": "0.0.0-semantically-released", |
4 | 4 | "description": "A way to truncate a json object.", |
5 | | - "main": "index.js", |
| 5 | + "main": "json-truncate.js", |
6 | 6 | "scripts": { |
7 | 7 | "precommit": "npm run lint && npm run coverage", |
8 | 8 | "commit": "git-cz", |
9 | 9 | "lint": "standard", |
10 | 10 | "coverage": "nyc npm t && npm run coverage-report", |
11 | 11 | "coverage-report": "nyc report --reporter=lcov", |
12 | | - "doc": "esdoc -c doc.json", |
13 | | - "test": "npm run build && _mocha --compilers js:babel-register", |
| 12 | + "test": "mocha", |
14 | 13 | "prebuild": "rimraf dist", |
| 14 | + "doc": "jsdoc json-truncate.js -d docs", |
15 | 15 | "predoc": "rimraf docs", |
16 | | - "build": "babel --copy-files --out-dir dist src", |
17 | 16 | "travis": "npm run precommit" |
18 | 17 | }, |
| 18 | + "engines": { |
| 19 | + "node": ">=6.0.0" |
| 20 | + }, |
19 | 21 | "repository": { |
20 | 22 | "type": "git", |
21 | 23 | "url": "https://github.com/mrsteele/json-truncate.git" |
|
35 | 37 | "js" |
36 | 38 | ], |
37 | 39 | "author": "Matt Steele <matt@omnionline.us> (http://omnionline.us)", |
| 40 | + "contributors": [ |
| 41 | + "Viktor Hubert <rpgmorpheus@gmail.com> (https://hubertviktor.com)" |
| 42 | + ], |
38 | 43 | "license": "MIT", |
39 | 44 | "bugs": { |
40 | 45 | "url": "https://github.com/mrsteele/json-truncate/issues" |
41 | 46 | }, |
42 | 47 | "homepage": "https://github.com/mrsteele/json-truncate#readme", |
43 | 48 | "devDependencies": { |
44 | | - "babel-cli": "^6.10.1", |
45 | | - "babel-eslint": "^10.0.2", |
46 | | - "babel-preset-es2015": "^6.9.0", |
47 | | - "babel-register": "^6.9.0", |
48 | 49 | "chai": "^4.0.2", |
49 | 50 | "commitizen": "^4.0.0", |
50 | 51 | "cz-conventional-changelog": "^3.0.0", |
51 | | - "esdoc": "^1.0.1", |
| 52 | + "jsdoc": "^3.6.3", |
52 | 53 | "mocha": "^5.0.0", |
53 | 54 | "nyc": "^14.1.0", |
54 | 55 | "rimraf": "^3.0.0", |
55 | 56 | "standard": "^13.0.1" |
56 | 57 | }, |
57 | | - "files": [ |
58 | | - "dist", |
59 | | - "src", |
60 | | - "README.md" |
61 | | - ], |
62 | 58 | "config": { |
63 | 59 | "commitizen": { |
64 | 60 | "path": "./node_modules/cz-conventional-changelog" |
65 | 61 | } |
66 | 62 | }, |
67 | | - "standard": { |
68 | | - "parser": "babel-eslint", |
69 | | - "ignore": "/dist/" |
70 | | - }, |
71 | | - "babel": { |
72 | | - "presets": [ |
73 | | - "es2015" |
74 | | - ] |
75 | | - }, |
76 | 63 | "nyc": { |
77 | 64 | "include": [ |
78 | | - "src/**/*.js" |
| 65 | + "json-truncate.js" |
79 | 66 | ] |
80 | 67 | } |
81 | 68 | } |
0 commit comments