2020-01-30 03:33:18 +00:00
|
|
|
{
|
2023-12-13 18:12:21 +00:00
|
|
|
"name": "sfm-js",
|
2023-01-13 23:59:54 +00:00
|
|
|
"version": "0.23.3",
|
2023-12-13 18:12:21 +00:00
|
|
|
"description": "An SFM parser implementation with fixes based on MFM",
|
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": {
|
TypeScript版パーサーのマージ (#124)
* 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
* :rocket:
* parser trace
* fix mention, implement hashtag
* lineBegin, lineEnd, refactor
* imple codeBlock, fix lineEnd
* codeBlock, mathBlock
* fix codeBlock
* fix mathBlock
* fix codeBlock
* lint
* fix inlineCode
* :rocket:
* centerTag
* fix nesting limit
* fix unicodeEmoji
* :rocket:
* search
* refactor
* seqPartial -> seqOrText
* lint
* url, urlAlt
* :rocket:
* :rocket:
* 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>
2022-07-21 17:21:56 +00:00
|
|
|
"build": "npm run tsc",
|
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",
|
2023-12-13 18:12:21 +00:00
|
|
|
"url": "git+https://git.joinsharkey.org/Sharkey/sfm.js.git"
|
2020-01-30 03:33:18 +00:00
|
|
|
},
|
2023-12-13 18:12:21 +00:00
|
|
|
"author": "Marie",
|
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",
|
|
|
|
"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"
|
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": [
|
2022-07-22 13:57:10 +00:00
|
|
|
"built",
|
2022-07-22 13:58:00 +00:00
|
|
|
"CHANGELOG.md"
|
2020-02-16 14:27:25 +00:00
|
|
|
]
|
2020-01-30 03:33:18 +00:00
|
|
|
}
|