sfm-js/package.json

44 lines
1.3 KiB
JSON
Raw Normal View History

2020-01-30 03:33:18 +00:00
{
2021-03-26 14:20:12 +00:00
"name": "mfm-js",
2021-06-12 04:35:46 +00:00
"version": "0.19.0",
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",
"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-26 14:48:46 +00:00
"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/",
2020-01-31 19:29:30 +00:00
"tsc": "tsc",
"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-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": {
2021-06-26 14:48:46 +00:00
"@types/jest": "^26.0.23",
2021-06-26 15:07:30 +00:00
"@types/node": "15.12.4",
2021-06-26 14:48:46 +00:00
"copyfiles": "^2.4.1",
"jest": "^27.0.5",
2021-06-05 03:43:10 +00:00
"peggy": "1.2.0",
2021-06-26 14:48:46 +00:00
"ts-jest": "^27.0.3",
2021-06-26 15:07:30 +00:00
"ts-node": "10.0.0",
"tsd": "^0.17.0",
"typescript": "4.3.4"
2021-03-17 06:24:33 +00:00
},
"dependencies": {
2021-06-07 13:28:10 +00:00
"twemoji-parser": "13.1.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
}