UNPKG

@tbela99/css-parser

Version:

CSS parser, minifier and validator for node and the browser

95 lines (94 loc) 3.59 kB
{ "name": "@tbela99/css-parser", "description": "CSS parser, minifier and validator for node and the browser", "version": "1.4.8", "exports": { ".": "./dist/node.js", "./node": "./dist/node.js", "./web": "./dist/web.js", "./cjs": "./dist/index.cjs" }, "type": "module", "typings": "dist/index.d.ts", "directories": { "test": "test" }, "scripts": { "doc": "typedoc --tsconfig typedoc-tsconfig.jsonc", "build": "rollup -c;./build.sh ./dist/index.d.ts 'declare interface' 'declare type'", "watch": "rollup -c -w", "test:watch": "web-test-runner \"./test/**/web.spec.js\" --timeout 30000 --node-resolve --playwright --browsers chromium firefox webkit --root-dir=. --watch", "test": "web-test-runner \"./test/**/web.spec.js\" --timeout=10000 --node-resolve --playwright --browsers chromium firefox webkit --root-dir=.; mocha --reporter-options='maxDiffSize=1801920' --timeout=10000 \"test/**/node.spec.js\"", "test:web": "web-test-runner \"./test/**/web.spec.js\" --timeout 30000 --node-resolve --playwright --browsers chromium firefox webkit --root-dir=.", "test:node": "mocha -p --reporter-options='maxDiffSize=1801920' --timeout=10000 \"test/**/node.spec.js\"", "test:cov": "superc8 -x 'test/specs/**/*.js' --reporter=html --reporter=text --reporter=json-summary mocha --reporter-options='maxDiffSize=1801920' -p --timeout=10000 'test/allFiles.js' 'test/**/node.spec.js'", "test:web-cov": "web-test-runner -x 'test/specs/code/*.js' --node-resolve --playwright --browsers chromium firefox webkit --root-dir=. --coverage \"test/specs/web.spec.js\"", "profile": "deno run --allow-read --cpu-prof --cpu-prof-flamegraph test/inspect.js", "config-update": "esno scripts/shorthand.ts", "syntax-update": "esno scripts/validation.ts", "debug:node": "mocha --reporter-options='maxDiffSize=1801920' --timeout=10000 \"test/**/node.spec.js\"", "debug:web": "web-test-runner \"./test/specs/web.spec.js\" --manual --open --node-resolve --root-dir=." }, "repository": { "type": "git", "url": "git+https://github.com/tbela99/css-parser.git" }, "keywords": [ "parser", "css", "modules", "css-modules", "css-parser", "node", "ast", "nesting", "nested", "compiler", "browser", "css-nesting", "css-compiler", "nested-css", "walker", "stream", "streaming", "streaming-parser" ], "author": "Thierry Bela", "license": "MIT", "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": "^29.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-typescript": "^12.3.0", "@types/chai": "^5.2.3", "@types/mocha": "^10.0.10", "@types/node": "^26.1.1", "@types/web": "^0.0.352", "@web/test-runner": "^1.0.0", "@web/test-runner-playwright": "^1.0.0", "esno": "^4.8.0", "markdown-it-task-lists": "^2.1.1", "mocha": "^11.7.6", "playwright": "^1.61.1", "rollup": "^4.62.2", "rollup-plugin-dts": "^6.4.1", "superc8": "^12.7.0", "tslib": "^2.8.1", "typedoc": "^0.28.20", "typedoc-plugin-coverage": "^4.0.3", "typedoc-plugin-redirect": "^1.3.0", "typedoc-unhoax-theme": "^0.5.3" }, "sideEffects": false, "allowScripts": { "esbuild@0.28.0": true, "esbuild@0.28.1": true, "fsevents@2.3.2": true, "fsevents@2.3.3": true } }