UNPKG

1.73 kBJSONView Raw
1{
2 "name": "comment-json",
3 "version": "4.0.0",
4 "description": "Parse and stringify JSON with comments. It will retain comments even after saved!",
5 "main": "src/index.js",
6 "scripts": {
7 "test": "npm run test:only",
8 "test:only": "npm run test:ts && npm run test:node",
9 "test:ts": "tsc test/ts/test-ts.ts && node test/ts/test-ts.js",
10 "test:node": "NODE_DEBUG=comment-json nyc ava --timeout=10s --verbose",
11 "test:dev": "npm run test:only && npm run report:dev",
12 "lint": "eslint .",
13 "fix": "eslint . --fix",
14 "posttest": "npm run report",
15 "report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
16 "report:dev": "nyc report --reporter=html && npm run report:open",
17 "report:open": "open coverage/index.html"
18 },
19 "files": [
20 "src/",
21 "index.d.ts"
22 ],
23 "repository": {
24 "type": "git",
25 "url": "git://github.com/kaelzhang/node-comment-json.git"
26 },
27 "keywords": [
28 "comment-json",
29 "comments",
30 "annotations",
31 "json",
32 "json-stringify",
33 "json-parse",
34 "parser",
35 "comments-json",
36 "json-comments"
37 ],
38 "engines": {
39 "node": ">= 6"
40 },
41 "ava": {
42 "files": [
43 "test/*.test.js"
44 ]
45 },
46 "author": "kaelzhang",
47 "license": "MIT",
48 "bugs": {
49 "url": "https://github.com/kaelzhang/node-comment-json/issues"
50 },
51 "devDependencies": {
52 "@ostai/eslint-config": "^3.5.0",
53 "ava": "^3.12.1",
54 "codecov": "^3.7.2",
55 "eslint": "^7.8.0",
56 "eslint-plugin-import": "^2.22.0",
57 "nyc": "^15.1.0",
58 "test-fixture": "^2.4.1",
59 "typescript": "^4.0.2"
60 },
61 "dependencies": {
62 "core-util-is": "^1.0.2",
63 "esprima": "^4.0.1",
64 "has-own-prop": "^2.0.0",
65 "repeat-string": "^1.6.1"
66 }
67}