2020-01-30 03:33:18 +00:00
|
|
|
{
|
2021-03-26 14:20:12 +00:00
|
|
|
"name": "mfm-js",
|
2022-05-22 02:44:40 +00:00
|
|
|
"version": "0.22.1",
|
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",
|
2022-06-07 14:41:09 +00:00
|
|
|
"peg": "peggy --cache -o src/internal/parser.js --allowed-start-rules fullParser,simpleParser src/internal/parser.pegjs && npm run peg-copy",
|
|
|
|
"peg-debug": "peggy --cache -o src/internal/parser.js --allowed-start-rules fullParser,inlineParser,simpleParser --trace src/internal/parser.pegjs && npm run peg-copy",
|
2021-06-26 14:48:46 +00:00
|
|
|
"peg-copy": "copyfiles -f src/internal/parser.js built/internal/",
|
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",
|
2022-06-07 14:41:09 +00:00
|
|
|
"parse-simple": "node ./built/cli/parseSimple",
|
2021-07-31 06:12:43 +00:00
|
|
|
"api": "npx api-extractor run --local --verbose",
|
|
|
|
"api-prod": "npx api-extractor run --verbose",
|
|
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
2021-06-26 14:48:46 +00:00
|
|
|
"jest": "jest --coverage",
|
|
|
|
"test": "npm run jest && 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": {
|
2022-07-10 07:34:25 +00:00
|
|
|
"@microsoft/api-extractor": "^7.28.4",
|
|
|
|
"@types/jest": "^28.1.4",
|
|
|
|
"@types/node": "18.0.3",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
|
|
"@typescript-eslint/parser": "^5.30.5",
|
2021-06-26 14:48:46 +00:00
|
|
|
"copyfiles": "^2.4.1",
|
2022-07-10 07:34:25 +00:00
|
|
|
"eslint": "^8.19.0",
|
|
|
|
"jest": "^28.1.2",
|
2021-06-05 03:43:10 +00:00
|
|
|
"peggy": "1.2.0",
|
2022-07-10 07:34:25 +00:00
|
|
|
"ts-jest": "^28.0.5",
|
|
|
|
"ts-node": "10.8.2",
|
|
|
|
"tsd": "^0.22.0",
|
|
|
|
"typescript": "4.7.4"
|
2021-03-17 06:24:33 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-07-10 07:34:25 +00:00
|
|
|
"twemoji-parser": "14.0.0"
|
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
|
|
|
}
|