tom-weatherhead/thaw-parser

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "thaw-parser",
    "version": "0.0.9",
    "description": "Programming language parsers, including LL(1), LR(0), LR(1), SLR(1), and LALR(1).",
    "keywords": [
        "LL(1)",
        "LR(0)",
        "LR(1)",
        "SLR(1)",
        "LALR(1)",
        "parser",
        "programming languages",
        "TypeScript"
    ],
    "private": false,
    "homepage": "https://github.com/tom-weatherhead/thaw-parser#readme",
    "repository": "github:tom-weatherhead/thaw-parser",
    "bugs": {
        "url": "https://github.com/tom-weatherhead/thaw-parser/issues"
    },
    "source": "src/main.ts",
    "browser": "dist/thaw-parser.js",
    "main": "dist/thaw-parser.cjs.js",
    "module": "dist/thaw-parser.esm.js",
    "types": "dist/types/main.d.ts",
    "files": [
        "dist/thaw-parser*.js",
        "dist/types/**/*.d.ts"
    ],
    "man": [],
    "directories": {
        "lib": "lib",
        "// bin": "",
        "man": "",
        "doc": "",
        "example": "",
        "test": "test"
    },
    "scripts": {
        "all": "npm run rebuild-online && npm pack && npm run deploy",
        "// allw": "rmdir /Q /S coverage & rmdir /Q /S dist & npm run lint & npm run prettiercheck & npm run build & npm test & npm pack & move /Y thaw-grammar-*.tgz C:\\git\\npm-packages\\",
        "rebuild-offline": "npm run clean-offline && npm run build-and-test",
        "clean-build-products": "rm -rf coverage && rm -rf dist",
        "rebuild-online": "npm run clean && npm i && npm run build-and-test",
        "clean-packages": "rm -rf node_modules && rm -f package-lock.json",
        "clean": "npm run clean-build-products && npm run clean-packages",
        "build-and-test": "npm run prettier-check && npm run lint && npm run build && npm run rollup && npm test",
        "prettier-check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
        "prettier-format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
        "lint": "eslint . --ext .js --ext .ts",
        "build": "tsc",
        "rollup": "rollup --config",
        "test": "jest --detectOpenHandles --forceExit",
        "deploy": "eval mv $npm_package_name-$npm_package_version.tgz $(echo $npm_package_config_deploy_target_dir)/",
        "// prepare": "npm run build",
        "// prepublishOnly": "npm test && npm run lint",
        "preversion": "npm run lint",
        "version": "npm run prettier-format && git add -A src",
        "postversion": "git push && git push --tags",
        "loc": "git ls-files | grep -v package-lock.json | tr -d '\\r' | tr '\\n' '\\0' | xargs -0 wc -l",
        "re": "npm run prettier-format && npm run clean-build-products && npm run build-and-test && npm pack && npm run deploy",
        "f": "npm run clean && npm i && npm run re",
        "start": "npm run all"
    },
    "config": {
        "deploy_target_dir": "$NPM_PKG_DIR"
    },
    "publishConfig": {},
    "dependencies": {
        "thaw-common-utilities.ts": "^0.0.12",
        "thaw-interpreter-core": "^0.0.5"
    },
    "devDependencies": {
        "@babel/core": "^7.17.5",
        "@babel/preset-env": "^7.16.11",
        "@babel/preset-typescript": "^7.16.7",
        "@rollup/plugin-node-resolve": "^13.1.3",
        "@types/eslint": "^8.4.1",
        "@types/jest": "^27.4.1",
        "@types/node": "^17",
        "@typescript-eslint/eslint-plugin": "^5.12.1",
        "@typescript-eslint/parser": "^5.12.1",
        "@typescript-eslint/typescript-estree": "^5.12.1",
        "eslint": "^8.10.0",
        "jest": "^27.5.1",
        "prettier": "^2.5.1",
        "rollup": "^2.68.0",
        "rollup-plugin-terser": "^7.0.2",
        "thaw-interpreter-types": "^0.0.5",
        "thaw-lexical-analyzer": "^0.0.9",
        "typescript": "^4.5.5",
        "typescript-eslint-language-service": "^5.0.0"
    },
    "// The correct name is bundledDependencies": true,
    "// The name bundleDependencies is also honoured": true,
    "// bundledDependencies": "... is an array of package names",
    "// bundledDependencies: See": "https://docs.npmjs.com/cli/v6/configuring-npm/package-json#bundleddependencies",
    "bundledDependencies": [],
    "engines": {
        "node": ">= 10"
    },
    "os": [
        "darwin",
        "linux",
        "win32"
    ],
    "cpu": [
        "ia32",
        "x64"
    ],
    "author": "Tom Weatherhead <thaw@2hrd4u.org> (https://github.com/tom-weatherhead)",
    "contributors": [
        "Anonymous <conspirator@deep.state.gov>",
        "Assimilated Captain <locutus@b.org>",
        "Austin James <president@warehouse.serendip.com>",
        "Autonomous Weapons Systems Unlimited <killer@robots.com>",
        "Buddy Guy <deadbeef@decafbad.gov>",
        "Deprecated <deadc0de@obso1337.org>",
        "Loitering Munition <smart@bom.com>",
        "Sgt. Pepper <shoot1st@thinkl8r.mil>"
    ],
    "license": "MIT"
}