mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-25 07:25:13 +00:00
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"name": "mfm-parser-pegjs",
|
|
"version": "0.1.1",
|
|
"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 rootParser,inlineParser,plainParser src/parser/core-parser.pegjs",
|
|
"peg-dev": "mkdirp ./built/parser && pegjs -o built/parser/core-parser.js --allowed-start-rules rootParser,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",
|
|
"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"
|
|
]
|
|
}
|