You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.7 KiB
67 lines
1.7 KiB
{ |
|
"name": "comment-json", |
|
"version": "4.6.2", |
|
"description": "Parse and stringify JSON with comments. It will retain comments even after saved!", |
|
"main": "src/index.js", |
|
"types": "index.d.ts", |
|
"scripts": { |
|
"test": "npm run test:only", |
|
"test:only": "npm run test:ts && npm run test:node", |
|
"test:ts": "tsc -b test/ts/tsconfig.build.json && node test/ts/test-ts.js", |
|
"test:node": "cross-env NODE_DEBUG=comment-json nyc ava --timeout=10s --verbose", |
|
"test:dev": "npm run test:only && npm run report:dev", |
|
"lint": "eslint .", |
|
"fix": "eslint . --fix", |
|
"posttest": "npm run report", |
|
"report": "nyc report --reporter=text-lcov > coverage.lcov", |
|
"report:dev": "nyc report --reporter=html && npm run report:open", |
|
"report:open": "open coverage/index.html" |
|
}, |
|
"files": [ |
|
"src/", |
|
"index.d.ts" |
|
], |
|
"repository": { |
|
"type": "git", |
|
"url": "git://github.com/kaelzhang/node-comment-json.git" |
|
}, |
|
"keywords": [ |
|
"comment-json", |
|
"comments", |
|
"annotations", |
|
"json", |
|
"json-stringify", |
|
"json-parse", |
|
"parser", |
|
"comments-json", |
|
"json-comments" |
|
], |
|
"engines": { |
|
"node": ">= 6" |
|
}, |
|
"ava": { |
|
"files": [ |
|
"test/*.test.js" |
|
] |
|
}, |
|
"author": "kaelzhang", |
|
"license": "MIT", |
|
"bugs": { |
|
"url": "https://github.com/kaelzhang/node-comment-json/issues" |
|
}, |
|
"devDependencies": { |
|
"@ostai/eslint-config": "^3.6.0", |
|
"ava": "^4.0.1", |
|
"codecov": "^3.8.2", |
|
"cross-env": "^10.0.0", |
|
"eslint": "^8.57.1", |
|
"eslint-plugin-import": "^2.25.4", |
|
"nyc": "^15.1.0", |
|
"test-fixture": "^2.4.1", |
|
"typescript": "^5.9.2" |
|
}, |
|
"dependencies": { |
|
"array-timsort": "^1.0.3", |
|
"esprima": "^4.0.1" |
|
} |
|
}
|
|
|