package.json
{
"name": "@progfay/scrapbox-parser",
"version": "9.0.0",
"description": "parse Scrapbox notation to JavaScript Object",
"files": [
"lib",
"esm",
"umd"
],
"main": "./lib/index.js",
"module": "./esm/index.js",
"types": "./lib/index.d.ts",
"unpkg": "./umd/scrapbox-parser.js",
"exports": {
"import": "./esm/index.js",
"require": "./lib/index.js",
"node": "./esm/index.js",
"default": "./lib/index.js"
},
"scripts": {
"build": "run-p build:*",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"build:esm": "tsc -p ./tsconfig.esm.json",
"build:umd": "webpack",
"prepare": "npm run clean && npm run build",
"clean": "node -e '[`lib`, `esm`, `umd`, `.cjs.tsbuildinfo`, `.esm.tsbuildinfo`].forEach(path => { fs.rmSync(path, {recursive:true, force:true}) })'",
"test": "jest --coverage",
"test:update": "jest --updateSnapshot --no-cache",
"lint": "run-p lint:*",
"lint:prettier": "prettier --check .",
"lint:eslint": "eslint -c ./.eslintrc.js .",
"lint:cspell": "cspell --no-summary '**/*'",
"lint:typescript": "tsc -p ./tsconfig.eslint.json",
"format": "run-s format:prettier format:eslint",
"format:prettier": "prettier --write .",
"format:eslint": "eslint --fix -c ./.eslintrc.js ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/progfay/scrapbox-parser.git"
},
"keywords": [
"scrapbox",
"parser"
],
"author": "progfay",
"license": "MIT",
"bugs": {
"url": "https://github.com/progfay/scrapbox-parser/issues"
},
"homepage": "https://github.com/progfay/scrapbox-parser#readme",
"devDependencies": {
"@babel/core": "7.24.4",
"@babel/preset-env": "7.24.4",
"@types/core-js": "2.5.8",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.7.1",
"@typescript-eslint/parser": "7.7.1",
"babel-loader": "9.1.3",
"cspell": "8.7.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.2.0",
"jest": "29.7.0",
"jest-snapshot": "29.7.0",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"ts-jest": "29.1.2",
"ts-loader": "9.5.1",
"typescript": "5.4.5",
"webpack": "5.91.0",
"webpack-cli": "5.1.4"
},
"publishConfig": {
"access": "public"
}
}