sfm-js/package.json
2021-03-16 15:55:09 +09:00

39 lines
1.3 KiB
JSON

{
"name": "mfm-parser-pegjs",
"version": "0.2.0",
"description": "A MFM parser made with PEG.js",
"main": "./built/index.js",
"scripts": {
"build": "npm run tsc && npm run peg && npm run webpack",
"build-dev": "npm run tsc && npm run peg-dev && npm run webpack-dev",
"peg": "mkdirp ./built/parser && pegjs -o built/parser/core-parser.js --allowed-start-rules fullParser,inlineParser,plainParser src/parser/core-parser.pegjs",
"peg-dev": "mkdirp ./built/parser && pegjs -o built/parser/core-parser.js --allowed-start-rules fullParser,inlineParser,plainParser --trace src/parser/core-parser.pegjs",
"tsc": "tsc",
"webpack": "webpack --mode=production",
"webpack-dev": "webpack --mode=development",
"parse": "node ./built/parse"
},
"repository": {
"type": "git",
"url": "git+https://github.com/marihachi/mfm-parser-pegjs.git"
},
"author": "Marihachi",
"license": "MIT",
"devDependencies": {
"@types/node": "^12.0.4",
"@types/parsimmon": "^1.10.1",
"@types/pegjs": "^0.10.1",
"mkdirp": "^0.5.1",
"parsimmon": "^1.13.0",
"pegjs": "^0.10.0",
"ts-loader": "6.2.x",
"typescript": "3.7.x",
"webpack": "4.40.x",
"webpack-cli": "3.3.x"
},
"files": [
"built/index.js",
"built/index.d.ts",
"built/parser"
]
}