mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-28 17:03:03 +00:00
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "mfm-js",
|
|
"version": "0.17.0",
|
|
"description": "An MFM parser implementation with PEG.js",
|
|
"main": "./built/index.js",
|
|
"types": "./built/index.d.ts",
|
|
"scripts": {
|
|
"build": "npm run tsc && npm run peg",
|
|
"build-debug": "npm run tsc && npm run peg-debug",
|
|
"peg": "peggy --cache -o built/parser.js --allowed-start-rules fullParser,inlineParser,plainParser src/parser.pegjs",
|
|
"peg-debug": "peggy --cache -o built/parser.js --allowed-start-rules fullParser,inlineParser,plainParser --trace src/parser.pegjs",
|
|
"tsc": "tsc",
|
|
"tsd": "tsd",
|
|
"parse": "node ./built/cli/parse",
|
|
"parse-plain": "node ./built/cli/parsePlain",
|
|
"test": "mocha -r ts-node/register 'test/**/*.ts' && npm run tsd"
|
|
},
|
|
"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",
|
|
"mocha": "8.3.x",
|
|
"peggy": "1.2.0",
|
|
"ts-node": "9.1.x",
|
|
"tsd": "^0.14.0",
|
|
"typescript": "4.2.x"
|
|
},
|
|
"dependencies": {
|
|
"twemoji-parser": "13.0.x"
|
|
},
|
|
"files": [
|
|
"built"
|
|
]
|
|
}
|