2020-01-30 03:33:18 +00:00
|
|
|
{
|
2021-03-26 14:20:12 +00:00
|
|
|
"name": "mfm-js",
|
2021-05-08 12:35:37 +00:00
|
|
|
"version": "0.16.4",
|
2021-03-26 16:48:04 +00:00
|
|
|
"description": "An MFM parser implementation with PEG.js",
|
2020-01-31 19:29:30 +00:00
|
|
|
"main": "./built/index.js",
|
2021-03-29 01:11:44 +00:00
|
|
|
"types": "./built/index.d.ts",
|
2020-01-30 03:33:18 +00:00
|
|
|
"scripts": {
|
2021-03-17 06:24:33 +00:00
|
|
|
"build": "npm run tsc && npm run peg",
|
|
|
|
"build-debug": "npm run tsc && npm run peg-debug",
|
2021-06-05 05:58:55 +00:00
|
|
|
"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",
|
2020-01-31 19:29:30 +00:00
|
|
|
"tsc": "tsc",
|
2021-03-29 01:11:44 +00:00
|
|
|
"tsd": "tsd",
|
2021-03-17 06:24:33 +00:00
|
|
|
"parse": "node ./built/cli/parse",
|
2021-04-15 08:58:18 +00:00
|
|
|
"parse-plain": "node ./built/cli/parsePlain",
|
2021-03-29 01:11:44 +00:00
|
|
|
"test": "mocha -r ts-node/register 'test/**/*.ts' && npm run tsd"
|
2020-01-30 03:33:18 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-03-26 14:20:12 +00:00
|
|
|
"url": "git+https://github.com/misskey-dev/mfm.js.git"
|
2020-01-30 03:33:18 +00:00
|
|
|
},
|
|
|
|
"author": "Marihachi",
|
2020-02-24 13:27:01 +00:00
|
|
|
"license": "MIT",
|
2020-01-30 03:33:18 +00:00
|
|
|
"devDependencies": {
|
2021-03-17 06:24:33 +00:00
|
|
|
"@types/mocha": "8.2.x",
|
|
|
|
"@types/node": "14.14.x",
|
|
|
|
"mocha": "8.3.x",
|
2021-06-05 03:43:10 +00:00
|
|
|
"peggy": "1.2.0",
|
2021-03-17 06:24:33 +00:00
|
|
|
"ts-node": "9.1.x",
|
2021-03-29 01:11:44 +00:00
|
|
|
"tsd": "^0.14.0",
|
2021-03-17 06:24:33 +00:00
|
|
|
"typescript": "4.2.x"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"twemoji-parser": "13.0.x"
|
2020-02-16 14:27:25 +00:00
|
|
|
},
|
|
|
|
"files": [
|
2021-03-17 06:24:33 +00:00
|
|
|
"built"
|
2020-02-16 14:27:25 +00:00
|
|
|
]
|
2020-01-30 03:33:18 +00:00
|
|
|
}
|