@wix/css-property-parser
Version:
A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance
113 lines (112 loc) • 3.15 kB
JSON
{
"name": "@wix/css-property-parser",
"version": "1.21.0",
"description": "A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance",
"main": "commonjs/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./commonjs/index.cjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"commonjs",
"README.md",
"LICENSE"
],
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc && node scripts/fix-esm-imports.mjs",
"build:cjs": "tsc --project tsconfig.commonjs.json && node scripts/post-build.mjs",
"build:watch": "tsc --watch",
"build:demo": "npm run generate-evaluators && tsc && echo 'TypeScript compiled for demo'",
"build:dev": "node scripts/build-dev.mjs",
"dev": "node scripts/build-dev.mjs && cd dev/server && node index.mjs",
"generate-evaluators": "node scripts/generate-evaluators.mjs",
"setup-hooks": "node scripts/setup-hooks.mjs",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"lint:check": "eslint src --ext .ts --max-warnings 0",
"prepublishOnly": "npm test && npm run build",
"prepack": "npm run build",
"release": "node scripts/release.mjs",
"release:patch": "node scripts/release.mjs patch",
"release:minor": "node scripts/release.mjs minor",
"release:major": "node scripts/release.mjs major",
"release:np": "np",
"release:np:patch": "np patch",
"release:np:minor": "np minor",
"release:np:major": "np major"
},
"keywords": [
"css",
"parse",
"css-properties",
"css-variables",
"typescript",
"css-parser",
"mdn-compliant",
"css-values",
"css-functions",
"calc",
"gradients"
],
"author": "itaich@wix.com",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/wix-incubator/css-property-parser.git"
},
"homepage": "https://wix-incubator.github.io/css-property-parser/",
"bugs": {
"url": "https://github.com/wix-incubator/css-property-parser/issues"
},
"engines": {
"node": ">=18.20.8"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"eslint": "^9.30.1",
"eslint-plugin-unused-imports": "^4.1.4",
"jest": "^30.0.3",
"np": "^10.2.0",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/*.test.ts"
],
"collectCoverageFrom": [
"**/*.ts",
"!**/*.test.ts",
"!**/*.d.ts",
"!node_modules/**"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
}
}