very-small-parser
Version:
A very small Markdown, HTML, and CSS parser.
86 lines (85 loc) • 2.68 kB
JSON
{
"name": "very-small-parser",
"version": "1.13.0",
"description": "A very small Markdown, HTML, and CSS parser.",
"author": {
"name": "streamich",
"url": "https://github.com/streamich"
},
"homepage": "https://github.com/streamich/very-small-parser",
"repository": "streamich/very-small-parser",
"license": "Apache-2.0",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/very-small-parser"
},
"keywords": [
"parser",
"peg",
"context",
"markdown",
"md",
"mdast",
"html",
"css",
"tiny",
"small"
],
"main": "dist/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"module": "dist/module.js",
"unpkg": "dist/index.js",
"files": [
"LICENSE",
"bin/",
"lib/",
"esm/",
"dist/"
],
"scripts": {
"format": "biome format ./src",
"format:fix": "biome format --write ./src",
"lint": "biome lint ./src",
"lint:fix": "biome lint --apply ./src",
"clean": "npx rimraf@5.0.5 lib dist es6 es2019 es2020 esm typedocs coverage gh-pages yarn-error.log",
"build:es2020": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
"build:esm": "tsc --project tsconfig.build.json --module ESNext --target ESNEXT --outDir esm",
"build:dist:mod": "NODE_ENV=production webpack --config ./webpack.config.js && npx rimraf@5.0.5 dist/index.html",
"build:dist:cjs": "NODE_ENV=production BUILD_TARGET=cjs webpack --config ./webpack.config.js && npx rimraf@5.0.5 dist/index.html",
"build:all": "npx concurrently@8.2.2 \"yarn build:es2020\" \"yarn build:esm && yarn build:dist:mod && yarn build:dist:cjs\"",
"build": "yarn build:es2020",
"test": "jest",
"coverage": "yarn test --collectCoverage",
"typedoc": "npx typedoc@0.25.13 --tsconfig tsconfig.build.json",
"build:pages": "npx rimraf@5.0.5 gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
"deploy:pages": "gh-pages -d gh-pages"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/jest": "^29.5.14",
"config-galore": "^1.0.0",
"html-webpack-plugin": "^5.6.3",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"transformIgnorePatterns": [
".*/node_modules/.*"
],
"testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"
},
"packageManager": "yarn@4.9.2"
}