@cheap-glitch/jsonast
Version:
A JSON to AST parser which allows error recovery.
75 lines (74 loc) • 1.8 kB
JSON
{
"name": "@cheap-glitch/jsonast",
"version": "0.2.2",
"description": "A JSON to AST parser which allows error recovery.",
"license": "ISC",
"author": "cheap glitch <cheap.glitch@gmail.com> (https://github.com/cheap-glitch)",
"repository": "cheap-glitch/jsonast",
"homepage": "https://github.com/cheap-glitch/jsonast#readme",
"funding": "https://github.com/sponsors/cheap-glitch",
"keywords": [
"ast",
"forgiving",
"json",
"parser",
"recovery",
"syntax",
"tree"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"directories": {
"test": "test"
},
"scripts": {
"build": "tsc",
"build:clean": "empty-dir dist && npm run build",
"build:watch": "tsc --watch",
"coverage": "npm test -- --collectCoverage",
"coverage:upload": "coveralls < .coverage/lcov.info",
"lint": "eslint . --ext .ts --ignore-path .gitignore",
"test": "jest --runInBand",
"test:watch": "npm test -- --watch"
},
"eslintConfig": {
"root": true,
"extends": "@cheap-glitch/typescript",
"env": {
"es6": true,
"node": true
},
"rules": {
"id-denylist": "off"
},
"overrides": [
{
"files": [
"src/character-stream.ts"
],
"rules": {
"no-underscore-dangle": "off"
}
}
]
},
"jest": {
"preset": "ts-jest",
"coverageDirectory": ".coverage"
},
"devDependencies": {
"@cheap-glitch/eslint-config-typescript": "^2.4.3",
"@cheap-glitch/tsconfig": "^1.0.0",
"@types/jest": "^27.0.2",
"@types/node": "^17.0.30",
"empty-dir-cli": "^1.0.2",
"eslint": "^8.14.0",
"jest": "^28.0.3",
"ts-jest": "^28.0.1",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
}
}