sfm-js/package.json

51 lines
1.6 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",
2022-05-21 11:07:10 +00:00
"version": "0.22.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",
"peg": "peggy --cache -o src/internal/parser.js --allowed-start-rules fullParser,plainParser src/internal/parser.pegjs && npm run peg-copy",
2021-06-26 14:48:46 +00:00
"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-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": {
2021-07-31 06:12:43 +00:00
"@microsoft/api-extractor": "^7.18.4",
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-07-31 06:12:43 +00:00
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
2021-06-26 14:48:46 +00:00
"copyfiles": "^2.4.1",
2021-07-31 06:12:43 +00:00
"eslint": "^7.32.0",
2021-06-26 14:48:46 +00:00
"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": {
2022-05-21 09:27:43 +00:00
"twemoji-parser": "14.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
}