mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-22 05:55:13 +00:00
5fe291a7e7
* implement parser with TypeScript (#116) * clean parser * parser, success, failure, str, parser.map * seq * atLeast, any, alt, match, notMatch * mergeText * improve seq * lazy, createLanguage * types * regexp, refactor * nest limit * lint * state * syntaxes * sep1, succeeded, option, fn * simple * strikeWave, plainTag, inlineCode, mathInline * mention, refactor * seqPartial * 🚀 * parser trace * fix mention, implement hashtag * lineBegin, lineEnd, refactor * imple codeBlock, fix lineEnd * codeBlock, mathBlock * fix codeBlock * fix mathBlock * fix codeBlock * lint * fix inlineCode * 🚀 * centerTag * fix nesting limit * fix unicodeEmoji * 🚀 * search * refactor * seqPartial -> seqOrText * lint * url, urlAlt * 🚀 * 🚀 * text * fix * link * linkLabel state * lint * nesting limit for link label * fix url bracket pair * nest * refactor * refactor * remove * add test * wip quote * add quote test * quote * refactor * hashtag * refactor * type * type * refactor * lint * url * italicAsta, italicUnder * italicAsta, italicUnder, mention, rethink spec * rethink spec * test: change implementation-dependent parts * hashtag * add mention test * mention * mention * mention * mention * url * test * hashtag * Revert "Auxiliary commit to revert individual files from 373972beef10eb99ff3e3635a32a207854154a2a" This reverts commit 622b66e20778ad5c283ea7629db853cbf2bb601f. * package-lock * Update tsconfig.json * Update tsconfig.json * ignore a tsd error when importing twemoji-parser regexp * lint * lint Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * v0.23.0-canary.1 * readme * update chagelog * update changelog * update changelog * refactor * update core combinators Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "mfm-js",
|
|
"version": "0.23.0-canary.1",
|
|
"description": "An MFM parser implementation with TypeScript",
|
|
"main": "./built/index.js",
|
|
"types": "./built/index.d.ts",
|
|
"scripts": {
|
|
"build": "npm run tsc",
|
|
"tsc": "tsc",
|
|
"tsd": "tsd",
|
|
"parse": "node ./built/cli/parse",
|
|
"parse-simple": "node ./built/cli/parseSimple",
|
|
"api": "npx api-extractor run --local --verbose",
|
|
"api-prod": "npx api-extractor run --verbose",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"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": {
|
|
"@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",
|
|
"eslint": "^8.19.0",
|
|
"jest": "^28.1.2",
|
|
"ts-jest": "^28.0.5",
|
|
"ts-node": "10.8.2",
|
|
"tsd": "^0.22.0",
|
|
"typescript": "4.7.4"
|
|
},
|
|
"dependencies": {
|
|
"twemoji-parser": "14.0.0"
|
|
},
|
|
"files": [
|
|
"built"
|
|
]
|
|
}
|