mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-25 07:25:13 +00:00
36 lines
1 KiB
JSON
36 lines
1 KiB
JSON
{
|
|
"name": "mfm-js",
|
|
"version": "0.11.0",
|
|
"description": "An MFM parser implementation with PEG.js",
|
|
"main": "./built/index.js",
|
|
"scripts": {
|
|
"build": "npm run tsc && npm run peg",
|
|
"build-debug": "npm run tsc && npm run peg-debug",
|
|
"peg": "pegjs -o built/parser.js --allowed-start-rules fullParser,inlineParser,plainParser src/parser.pegjs",
|
|
"peg-debug": "pegjs -o built/parser.js --allowed-start-rules fullParser,inlineParser,plainParser --trace src/parser.pegjs",
|
|
"tsc": "tsc",
|
|
"parse": "node ./built/cli/parse",
|
|
"test": "mocha -r ts-node/register 'test/**/*.ts'"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/misskey-dev/mfm.js.git"
|
|
},
|
|
"author": "Marihachi",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/mocha": "8.2.x",
|
|
"@types/node": "14.14.x",
|
|
"@types/pegjs": "0.10.x",
|
|
"mocha": "8.3.x",
|
|
"pegjs": "0.10.x",
|
|
"ts-node": "9.1.x",
|
|
"typescript": "4.2.x"
|
|
},
|
|
"dependencies": {
|
|
"twemoji-parser": "13.0.x"
|
|
},
|
|
"files": [
|
|
"built"
|
|
]
|
|
}
|