{
  "name": "rita",
  "version": "2.8.31",
  "author": "Daniel C. Howe",
  "license": "GPL-3.0",
  "description": "tools for generative natural language",
  "homepage": "https://rednoise.org/rita",
  "repository": {
    "type": "git",
    "url": "https://github.com/dhowe/ritajs.git"
  },
  "files": [
    "dist/*.js",
    "example.js"
  ],
  "main": "dist/rita.js",
  "autoupdate": {
    "source": "npm",
    "target": "rita",
    "fileMap": [
      {
        "basePath": "dist",
        "files": [
          "*.js"
        ]
      }
    ]
  },
  "runkitExampleFilename": "example.js",
  "keywords": [
    "natural language",
    "generative text",
    "text analysis"
  ],
  "scripts": {
    "clean": "rm -f dist/*.*",
    "build": "npm run clean && webpack --mode=production",
    "build.dev": "npm run clean && webpack --mode=development --devtool=eval-source-map",
    "test": "npx mocha -r esm",
    "prepare": "npm run compile",
    "watch.src": "npm-watch test.src",
    "watch.dist": "npm-watch build.dev",
    "test.src": "NODE_ENV=dev npx mocha -r esm",
    "test.g": "NODE_ENV=dev npx mocha -r esm ./test/*.js -g ",
    "watch.grammar": "npm-watch antlr4.js",
    "compile": "npm run fix.antlr && npm run antlr4.js",
    "precoverage": "rm -rf ./coverage",
    "coverage": "c8 --reporter=html --exclude='src/visitor.js' npm run test.src",
    "postcoverage": "open coverage/src/index.html",
    "fix.antlr": "cp -r ./fixed-antlr/JavaScript/src/antlr4/ node_modules/antlr4/src/antlr4",
    "antlr4.js": "java -Xmx500M -cp 'jlib/antlr4-4.9.2-SNAPSHOT-complete.jar' org.antlr.v4.Tool -Dlanguage=JavaScript -o grammar/antlr -visitor -no-listener -Xexact-output-dir grammar/RiScript*.g4"
  },
  "watch": {
    "antlr4.js": {
      "patterns": "grammar",
      "extensions": "g4"
    },
    "test.src": {
      "patterns": [
        "src",
        "test"
      ],
      "ignore": "before.js",
      "extensions": "js"
    },
    "build.dev": {
      "patterns": [
        "src"
      ],
      "extensions": "js"
    }
  },
  "devDependencies": {
    "@babel/cli": "^7.16.7",
    "@babel/core": "^7.16.7",
    "@babel/plugin-proposal-class-properties": "^7.16.7",
    "@babel/preset-env": "^7.16.7",
    "antlr4": "^4.9.1",
    "babel-loader": "^8.2.3",
    "chai": "^4.3.4",
    "codecov": "^3.8.3",
    "deepmerge": "^4.2.2",
    "esm": "^3.2.25",
    "flatted": "^3.2.4",
    "he": "^1.2.0",
    "mocha": "^8.4.0",
    "npm-watch": "^0.11.0",
    "terser-webpack-plugin": "^5.3.0",
    "webpack": "^5.65.0",
    "webpack-cli": "^4.10.0"
  }
}
