* exclude `Features.LogicalProperties` lightningcss feature We don't want this to automatically apply since we have dedicated logical property based utilities already. We also have a feature flag to toggle some utilities to make use of logical property based ones. This feature should be opt-in to prevent backwards compatibility (e.g.: RTL sites that _did_ use a mr-4 explicitly). * update default browserslist * explicitly include/exclude Lightning CSS features * update tests based on new browserslist and include/exclude features from Lightning CSS * update integration tests * prefer user browserslist, fallback to built-in browserslist * always include Nesting If a custom browserslist config is used, then we don't explicitly set the include/exclude features from Lightning CSS (except for nesting, we always want to process nesting) * ensure to fallback to the current working directory * update changelog
114 lines
3.2 KiB
JSON
114 lines
3.2 KiB
JSON
{
|
|
"name": "tailwindcss",
|
|
"version": "3.3.2",
|
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"types": "types/index.d.ts",
|
|
"repository": "https://github.com/tailwindlabs/tailwindcss.git",
|
|
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
|
|
"homepage": "https://tailwindcss.com",
|
|
"bin": {
|
|
"tailwind": "lib/cli.js",
|
|
"tailwindcss": "lib/cli.js"
|
|
},
|
|
"workspaces": [
|
|
"integrations/*",
|
|
"oxide/crates/node"
|
|
],
|
|
"scripts": {
|
|
"dev": "concurrently -n tailwind,oxide-node -c green,yellow 'npm run dev:js' 'npm run dev:rust'",
|
|
"build": "npm run build:rust && npm run build:js",
|
|
"test": "jest",
|
|
"test:integrations": "npm run test -w ./integrations",
|
|
"style": "eslint .",
|
|
"prepublishOnly": "npm install --force && npm run build && npm run generate:types",
|
|
"dev:rust": "npm run --prefix ./oxide dev:node",
|
|
"dev:js": "npm run build:js -- --watch",
|
|
"build:rust": "npm run --prefix ./oxide build:node",
|
|
"build:js": "npm run generate:plugin-list && swc src --out-dir lib --copy-files --delete-dir-on-start",
|
|
"generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js",
|
|
"generate:types": "node -r @swc/register scripts/generate-types.js"
|
|
},
|
|
"files": [
|
|
"src/*",
|
|
"cli/*",
|
|
"lib/*",
|
|
"scripts/*.js",
|
|
"stubs/*",
|
|
"nesting/*",
|
|
"types/**/*",
|
|
"*.d.ts",
|
|
"*.css",
|
|
"*.js"
|
|
],
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.1.62",
|
|
"@swc/core": "^1.3.62",
|
|
"@swc/jest": "^0.2.26",
|
|
"@swc/register": "^0.1.10",
|
|
"concurrently": "^8.0.1",
|
|
"eslint": "^8.39.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "^29.5.0",
|
|
"jest-diff": "^29.5.0",
|
|
"prettier": "^2.8.8",
|
|
"rimraf": "^5.0.0",
|
|
"source-map-js": "^1.0.2",
|
|
"turbo": "^1.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@alloc/quick-lru": "^5.2.0",
|
|
"@tailwindcss/oxide": "file:oxide/crates/node",
|
|
"arg": "^5.0.2",
|
|
"browserslist": "^4.21.7",
|
|
"chokidar": "^3.5.3",
|
|
"didyoumean": "^1.2.2",
|
|
"dlv": "^1.1.3",
|
|
"fast-glob": "^3.2.12",
|
|
"glob-parent": "^6.0.2",
|
|
"is-glob": "^4.0.3",
|
|
"jiti": "^1.18.2",
|
|
"lightningcss": "^1.21.0",
|
|
"lilconfig": "^2.1.0",
|
|
"micromatch": "^4.0.5",
|
|
"normalize-path": "^3.0.0",
|
|
"object-hash": "^3.0.0",
|
|
"picocolors": "^1.0.0",
|
|
"postcss": "^8.4.24",
|
|
"postcss-import": "^15.1.0",
|
|
"postcss-js": "^4.0.1",
|
|
"postcss-load-config": "^4.0.1",
|
|
"postcss-nested": "^6.0.1",
|
|
"postcss-selector-parser": "^6.0.12",
|
|
"postcss-value-parser": "^4.2.0",
|
|
"resolve": "^1.22.3",
|
|
"sucrase": "^3.32.0"
|
|
},
|
|
"browserslist": [
|
|
"chrome >= 103",
|
|
"firefox >= 102",
|
|
"safari >= 14"
|
|
],
|
|
"jest": {
|
|
"testTimeout": 30000,
|
|
"globalSetup": "<rootDir>/jest/global-setup.js",
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/jest/customMatchers.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/integrations/",
|
|
"/standalone-cli/",
|
|
"\\.test\\.skip\\.js$"
|
|
],
|
|
"transform": {
|
|
"\\.js$": "@swc/jest",
|
|
"\\.ts$": "@swc/jest"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
}
|
|
}
|