@gram-data/gram-parse
Version:
parse text into gram data graphs
90 lines (89 loc) • 2.44 kB
JSON
{
"name": "@gram-data/gram-parse",
"description": "parse text into gram data graphs",
"keywords": [
"graph",
"neo4j",
"gram",
"unified"
],
"version": "0.3.11",
"license": "MIT",
"author": "Andreas Kollegger",
"repository": {
"type": "git",
"url": "https://github.com/gram-data/gram-js.git"
},
"homepage": "https://gram-data.github.io/gram-js/api/modules/gram-parse",
"main": "dist/index.js",
"browser": "dist/gram-parse.umd.development.min.js",
"unpkg": "dist/gram-parse.umd.production.min.js",
"module": "dist/gram-parse.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "run-s build:near lint:fix build:dist",
"build:near": "nearleyc src/gram.ne -o src/gram-grammar.ts",
"build:dist": "tsdx build --format umd,esm,cjs --tsconfig tsconfig.build.json",
"test": "tsdx test",
"test:watch": "tsdx test --watch",
"lint": "tsdx lint src",
"lint:fix": "tsdx lint src --fix",
"railroad": "nearley-railroad ./src/gram.ne -o railroad.html",
"build:demo": "shx cp dist/gram-parse.umd.development.* ./public",
"demo": "parcel ./public/index.html --open",
"prepare": "npm run build",
"update": "ncu -u",
"update:check": "ncu"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint src"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"devDependencies": {
"@gram-data/gram-stringify": "^0.3.11",
"@types/jest": "^26.0.19",
"@types/moo": "^0.5.3",
"@types/nearley": "^2.11.1",
"@types/unist": "^2.0.3",
"@typescript-eslint/parser": "^4.10.0",
"husky": "^4.3.6",
"npm-check-updates": "^10.2.5",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.4",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"shx": "^0.3.3",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typedoc": "^0.19.2",
"typescript": "^4.1.3",
"unist-util-inspect": "^6.0.1"
},
"dependencies": {
"@gram-data/gram-ast": "^0.3.11",
"@gram-data/gram-builder": "^0.3.11",
"moo": "^0.5.1",
"nearley": "^2.20.1",
"unified": "^9.2.0",
"vfile": "^4.2.1"
},
"gitHead": "274c85fd815ae129cee846af2e0d0841dde45341",
"publishConfig": {
"access": "public"
}
}