UNPKG

buntis

Version:

A 100% compliant, self-hosted typescript parser that emits an ESTree-compatible abstract syntax tree

103 lines (102 loc) 3.11 kB
{ "name": "buntis", "version": "0.2.1", "description": "A 100% compliant, self-hosted typescript parser that emits an ESTree-compatible abstract syntax tree", "main": "dist/buntis.umd.js", "module": "dist/buntis.esm.js", "jsnext:main": "dist/buntis.esm.js", "browser": "dist/buntis.umd.js", "types": "dist/buntis.d.ts", "typings": "dist/buntis.d.ts", "author": "KFlash", "license": "ISC", "homepage": "https://github.com/buntis/buntis", "repository": { "type": "git", "url": "https://github.com/buntis/buntis" }, "bugs": { "url": "https://github.com/buntis/buntis/issues" }, "keywords": [ "parsing", "ecmascript", "typescript", "parser", "performance", "tolerant", "estree", "es2018", "es2019", "es2020", "ECMAScript 2020", "esnext", "javascript", "ast", "jsx", "lightweight" ], "files": [ "dist", "src", "README.md", "CHANGELOG.md", "LICENSE.md" ], "publishConfig": { "access": "public" }, "scripts": { "build": "tsc", "build:watch": "tsc -w", "lint": "eslint --fix \"{src,test,scripts}/**/*.{ts,js}\"", "prettier": "node ./scripts/prettier.js write-changed", "prettier-all": "node ./scripts/prettier.js write", "bundle": "cross-env rimraf dist && node scripts/bundle.js", "bundle:bench": "cross-env rimraf dist && node scripts/bundle.js bench", "test": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" mocha \"test/**/*.ts\" -c -R progress -r ts-node/register -r source-map-support/register --recursive --globals expect", "test:watch": "npm run test -- --watch --watch-extensions ts", "test:verbose": "npm run test -- -R spec", "test:watch:verbose": "npm run test:watch -- -R spec", "prepare-nightly": "node scripts/bump-dev-version", "coverage": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" nyc -n \"src/**/*.ts\" -e .ts -i ts-node/register -r text-summary -r lcov -r html npm test", "post_coverage": "cross-env cat ./coverage/lcov.info | coveralls" }, "devDependencies": { "@types/mocha": "^5.2.7", "@types/node": "^12.7.5", "@typescript-eslint/eslint-plugin": "^2.3.0", "@typescript-eslint/parser": "^2.3.0", "chalk": "^2.4.2", "coveralls": "^3.0.6", "cross-env": "^6.0.0", "eslint": "^6.4.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-node": "^10.0.0", "glob": "^7.1.4", "husky": "^3.0.5", "mocha": "^6.2.0", "nyc": "^14.1.1", "path": "^0.12.7", "prettier": "^1.18.2", "rimraf": "^3.0.0", "rollup": "^1.21.4", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-terser": "^5.1.1", "rollup-plugin-typescript2": "^0.24.1", "source-map-support": "^0.5.13", "ts-node": "^8.4.1", "tsconfig-paths": "^3.8.0", "tslib": "^1.10.0", "tslint": "^5.20.0", "tslint-microsoft-contrib": "^6.2.0", "typescript": "^3.6.3", "unexpected": "^11.8.0", "unicode-12.0.0": "^0.8.0" }, "husky": { "hooks": { "pre-commit": "node ./scripts/prettier.js check-changed" } } }