Skip to content
Snippets Groups Projects
package.json 1.64 KiB
Newer Older
Marihachi's avatar
Marihachi committed
{
marihachi's avatar
marihachi committed
  "name": "mfm-js",
marihachi's avatar
marihachi committed
  "version": "0.22.1",
marihachi's avatar
marihachi committed
  "description": "An MFM parser implementation with PEG.js",
marihachi's avatar
marihachi committed
  "main": "./built/index.js",
  "types": "./built/index.d.ts",
Marihachi's avatar
Marihachi committed
  "scripts": {
marihachi's avatar
marihachi committed
    "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,simpleParser src/internal/parser.pegjs && npm run peg-copy",
    "peg-debug": "peggy --cache -o src/internal/parser.js --allowed-start-rules fullParser,inlineParser,simpleParser --trace src/internal/parser.pegjs && npm run peg-copy",
syuilo's avatar
syuilo committed
    "peg-copy": "copyfiles -f src/internal/parser.js built/internal/",
marihachi's avatar
marihachi committed
    "tsc": "tsc",
marihachi's avatar
marihachi committed
    "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",
syuilo's avatar
syuilo committed
    "jest": "jest --coverage",
    "test": "npm run jest && npm run tsd"
Marihachi's avatar
Marihachi committed
  },
  "repository": {
    "type": "git",
marihachi's avatar
marihachi committed
    "url": "git+https://github.com/misskey-dev/mfm.js.git"
Marihachi's avatar
Marihachi committed
  },
  "author": "Marihachi",
marihachi's avatar
marihachi committed
  "license": "MIT",
Marihachi's avatar
Marihachi committed
  "devDependencies": {
syuilo's avatar
syuilo committed
    "eslint": "^8.19.0",
    "jest": "^28.1.2",
marihachi's avatar
marihachi committed
    "peggy": "1.2.0",
marihachi's avatar
marihachi committed
  },
  "dependencies": {
syuilo's avatar
syuilo committed
marihachi's avatar
marihachi committed
  },
  "files": [
marihachi's avatar
marihachi committed
    "built"
marihachi's avatar
marihachi committed
  ]
Marihachi's avatar
Marihachi committed
}