ccgjs
Version:
A combinatory categorial grammar (CCG) library for the web.
96 lines (95 loc) • 2.68 kB
JSON
{
"version": "0.1.0-beta.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"cjs",
"dist",
"esm",
"src",
"umd"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build --format cjs,esm,umd",
"test": "tsdx test",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"pegjs": "pegjs --plugin ts-pegjs --extra-options-file pegconfig.json -o src/generated.pegjs.ts --cache src/ccg.pegjs",
"copy:cjs": "npm run copy:cjs:dev && npm run copy:cjs:prod",
"copy:cjs:dev": "cp dist/ccgjs.cjs.development.js cjs/ccgjs.js && cp dist/ccgjs.cjs.development.js.map cjs/",
"copy:cjs:prod": "cp dist/ccgjs.cjs.production.min.js cjs/ccgjs.min.js && cp dist/ccgjs.cjs.production.min.js.map cjs/",
"copy:umd": "npm run copy:umd:dev && npm run copy:umd:prod",
"copy:umd:dev": "cp dist/ccgjs.umd.development.js umd/ccgjs.js && cp dist/ccgjs.umd.development.js.map umd/",
"copy:umd:prod": "cp dist/ccgjs.umd.production.min.js umd/ccgjs.min.js && cp dist/ccgjs.umd.production.min.js.map umd/",
"copy:esm": "cp dist/ccgjs.esm.js esm/ccgjs.js && cp dist/ccgjs.esm.js.map esm/",
"distribute": "npm run copy:cjs && npm run copy:umd && npm run copy:esm"
},
"jest": {
"collectCoverageFrom": [
"src/**/{!(generated.pegjs)}.ts"
]
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "ccgjs",
"author": "Wisnu Adi Nurcahyo",
"browser": "umd/ccgjs.js",
"module": "dist/ccgjs.cjs.js",
"size-limit": [
{
"path": "dist/ccgjs.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/ccgjs.umd.production.min.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^4.6.0",
"husky": "^4.3.0",
"pegjs": "^0.10.0",
"size-limit": "^4.6.0",
"ts-pegjs": "^0.2.7",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typescript": "^4.0.3"
},
"description": "A combinatory categorial grammar (CCG) library for the web.",
"directories": {
"example": "examples",
"test": "test"
},
"dependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/wisn/ccgjs.git"
},
"keywords": [
"ccg",
"combinatory",
"categorial",
"grammar"
],
"bugs": {
"url": "https://github.com/wisn/ccgjs/issues"
},
"homepage": "https://github.com/wisn/ccgjs#readme"
}