mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-25 07:25:13 +00:00
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "mfm-js",
|
|
"version": "0.19.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 src/internal/parser.js --allowed-start-rules fullParser,inlineParser,plainParser src/internal/parser.pegjs && npm run peg-copy",
|
|
"peg-debug": "peggy --cache -o src/internal/parser.js --allowed-start-rules fullParser,inlineParser,plainParser --trace src/internal/parser.pegjs && npm run peg-copy",
|
|
"peg-copy": "copyfiles -f src/internal/parser.js built/internal/",
|
|
"tsc": "tsc",
|
|
"tsd": "tsd",
|
|
"parse": "node ./built/cli/parse",
|
|
"parse-plain": "node ./built/cli/parsePlain",
|
|
"jest": "jest --coverage",
|
|
"test": "npm run jest && npm run tsd"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/misskey-dev/mfm.js.git"
|
|
},
|
|
"author": "Marihachi",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.23",
|
|
"@types/node": "14.14.x",
|
|
"copyfiles": "^2.4.1",
|
|
"jest": "^27.0.5",
|
|
"peggy": "1.2.0",
|
|
"ts-jest": "^27.0.3",
|
|
"ts-node": "9.1.x",
|
|
"tsd": "^0.14.0",
|
|
"typescript": "4.2.x"
|
|
},
|
|
"dependencies": {
|
|
"twemoji-parser": "13.1.x"
|
|
},
|
|
"files": [
|
|
"built"
|
|
]
|
|
}
|