@tbela99/css-parser
Version:
CSS parser for node and the browser
73 lines (72 loc) • 2.6 kB
JSON
{
"name": "@tbela99/css-parser",
"description": "CSS parser for node and the browser",
"version": "v0.9.1",
"exports": {
".": "./dist/node/index.js",
"./node": "./dist/node/index.js",
"./umd": "./dist/index-umd-web.js",
"./web": "./dist/web/index.js",
"./cjs": "./dist/index.cjs"
},
"type": "module",
"typings": "dist/index.d.ts",
"directories": {
"test": "test"
},
"scripts": {
"build": "rollup -c;./build.sh dist/index.d.ts 'declare interface' 'declare type'",
"test": "web-test-runner \"test/**/web.spec.js\" --node-resolve --playwright --browsers chromium firefox webkit --root-dir=.; mocha --reporter-options='maxDiffSize=1801920' \"test/**/node.spec.js\"",
"test:node": "mocha --reporter-options='maxDiffSize=1801920' \"test/**/node.spec.js\"",
"test:cov": "c8 -x dist/lib/validation/syntax.js -x 'dist/lib/validation/parser/*.js' --reporter=html --reporter=text --reporter=json-summary mocha --reporter-options='maxDiffSize=1801920' \"test/**/node.spec.js\"",
"test:web-cov": "web-test-runner -x dist/lib/validation/syntax.js,dist/lib/validation/parser \"test/**/web.spec.js\" --node-resolve --playwright --browsers chromium firefox webkit --root-dir=. --coverage",
"profile": "node --enable-source-maps --inspect-brk test/inspect.js",
"syntax-update": "esno tools/validation.ts",
"debug": "web-test-runner \"test/**/web.spec.js\" --manual --open --node-resolve --root-dir=."
},
"repository": {
"type": "git",
"url": "git+https://github.com/tbela99/css-parser.git"
},
"keywords": [
"parser",
"css",
"css-parser",
"node",
"ast",
"nesting",
"nested",
"compiler",
"browser",
"css-nesting",
"css-compiler",
"nested-css",
"walker"
],
"author": "Thierry Bela",
"license": "MIT OR LGPL-3.0",
"bugs": {
"url": "https://github.com/tbela99/css-parser/issues"
},
"homepage": "https://github.com/tbela99/css-parser#readme",
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.5",
"@types/web": "^0.0.206",
"@web/test-runner": "^0.20.0",
"@web/test-runner-playwright": "^0.11.0",
"c8": "^10.1.3",
"esno": "^4.8.0",
"mocha": "^11.1.0",
"playwright": "^1.50.1",
"rollup": "^4.34.8",
"rollup-plugin-dts": "^6.1.1",
"tslib": "^2.8.1"
}
}