mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
* Update rimraf to version 4.1.2 * use rimraf sync API Our `oxide` engine uses rimraf v4, our `stable` engine uses rimraf v3 and the API is different in both. However the tests are currently shared for both engines so we have to use the correct API for the correct version. However, we can also just use the `sync` API. More info: https://github.com/isaacs/rimraf#major-changes-from-v3-to-v4 --------- Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
127 lines
3.6 KiB
JSON
127 lines
3.6 KiB
JSON
{
|
|
"name": "tailwindcss",
|
|
"version": "3.2.6",
|
|
"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"
|
|
],
|
|
"tailwindcss": {
|
|
"engine": "oxide"
|
|
},
|
|
"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 && npm run build:peers",
|
|
"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",
|
|
"build:peers": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false",
|
|
"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/*",
|
|
"peers/*",
|
|
"scripts/*.js",
|
|
"stubs/*.stub.js",
|
|
"nesting/*",
|
|
"types/**/*",
|
|
"*.d.ts",
|
|
"*.css",
|
|
"*.js"
|
|
],
|
|
"devDependencies": {
|
|
"@swc/cli": "0.1.61",
|
|
"@swc/core": "1.3.27",
|
|
"@swc/jest": "0.2.24",
|
|
"@swc/register": "0.1.10",
|
|
"autoprefixer": "^10.4.13",
|
|
"concurrently": "^7.5.0",
|
|
"cssnano": "^5.1.14",
|
|
"esbuild": "^0.17.4",
|
|
"eslint": "^8.31.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "^29.4.1",
|
|
"jest-diff": "^29.4.1",
|
|
"prettier": "^2.8.4",
|
|
"rimraf": "^4.1.2",
|
|
"source-map-js": "^1.0.2",
|
|
"turbo": "^1.7.4"
|
|
},
|
|
"peerDependencies": {
|
|
"postcss": "^8.0.9"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/oxide": "file:oxide/crates/node",
|
|
"arg": "^5.0.2",
|
|
"browserslist": "^4.21.5",
|
|
"chokidar": "^3.5.3",
|
|
"color-name": "^1.1.4",
|
|
"detective": "^5.2.1",
|
|
"didyoumean": "^1.2.2",
|
|
"dlv": "^1.1.3",
|
|
"fast-glob": "^3.2.12",
|
|
"glob-parent": "^6.0.2",
|
|
"is-glob": "^4.0.3",
|
|
"lightningcss": "^1.18.0",
|
|
"lilconfig": "^2.0.6",
|
|
"micromatch": "^4.0.5",
|
|
"normalize-path": "^3.0.0",
|
|
"object-hash": "^3.0.0",
|
|
"picocolors": "^1.0.0",
|
|
"postcss": "^8.4.21",
|
|
"postcss-import": "^14.1.0",
|
|
"postcss-js": "^4.0.1",
|
|
"postcss-load-config": "^3.1.4",
|
|
"postcss-nested": "6.0.0",
|
|
"postcss-selector-parser": "^6.0.11",
|
|
"postcss-value-parser": "^4.2.0",
|
|
"quick-lru": "^5.1.1",
|
|
"resolve": "^1.22.1"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"not edge <= 18",
|
|
"not ie 11",
|
|
"not op_mini all"
|
|
],
|
|
"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"
|
|
}
|
|
}
|