{ "name": "mfm-js", "version": "0.21.0", "description": "An MFM parser implementation with PEG.js", "main": "./built/index.js", "types": "./built/index.d.ts", "scripts": { "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", "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/", "tsc": "tsc", "tsd": "tsd", "parse": "node ./built/cli/parse", "parse-plain": "node ./built/cli/parsePlain", "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.18.4", "@types/jest": "^26.0.23", "@types/node": "15.12.4", "@typescript-eslint/eslint-plugin": "^4.28.5", "@typescript-eslint/parser": "^4.28.5", "copyfiles": "^2.4.1", "eslint": "^7.32.0", "jest": "^27.0.5", "peggy": "1.2.0", "ts-jest": "^27.0.3", "ts-node": "10.0.0", "tsd": "^0.17.0", "typescript": "4.3.4" }, "dependencies": { "twemoji-parser": "13.1.x" }, "files": [ "built" ] }