mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
* introduce `public` folder This can contain all of the `public` functions we want to expose. This will be a bit nicer for example when you want to use internal/private functions (we use some in the vscode intellisense plugin). * use public `resolveConfig` function * expose resolveConfig in the root This will use the resolveConfig we expose from the `public` folder. We can probably generate these as well. * make `colors` public * make `default config` public * make `default theme` public * make `create plugin` public * update to public paths * remove `@tailwindcss/aspect-ratio` from tests This should be tested in its own repo instead. * remove `@tailwindcss/aspect-ratio` as a dependency * drop `Build` step from CI The build step is not a prerequisite anymore for running the tests. When we want to release a new (insiders) release, the `prepublishOnly` step will be executed for us. Before this change, it would have been executed twice: - Once before the tests - Once before the actual release * improve paths for caching purposes * add pretest scrip for generating the plugin list Now that we can use `SWC`, automatically generating the plugin list before running the tests is super fast and you don't even have to think about it anymore!
114 lines
3.1 KiB
JSON
114 lines
3.1 KiB
JSON
{
|
|
"name": "tailwindcss",
|
|
"version": "3.0.0-alpha",
|
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"style": "dist/tailwind.css",
|
|
"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"
|
|
},
|
|
"contributors": [
|
|
"Adam Wathan <adam.wathan@gmail.com>",
|
|
"Jonathan Reinink <jonathan@reinink.ca>",
|
|
"David Hemphill <davidlee.hemphill@gmail.com>"
|
|
],
|
|
"scripts": {
|
|
"preswcify": "npm run generate:plugin-list && rimraf lib",
|
|
"swcify": "swc src --out-dir lib --copy-files",
|
|
"postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js",
|
|
"rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js",
|
|
"prepublishOnly": "npm install --force && npm run swcify",
|
|
"style": "eslint .",
|
|
"pretest": "npm run generate:plugin-list",
|
|
"test": "cross-env TAILWIND_MODE=build jest",
|
|
"test:integrations": "npm run test --prefix ./integrations",
|
|
"install:integrations": "node scripts/install-integrations.js",
|
|
"posttest": "npm run style",
|
|
"generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js"
|
|
},
|
|
"files": [
|
|
"src/*",
|
|
"cli/*",
|
|
"lib/*",
|
|
"peers/*",
|
|
"scripts/*.js",
|
|
"stubs/*.stub.js",
|
|
"nesting/*",
|
|
"*.css",
|
|
"*.js"
|
|
],
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.1.50",
|
|
"@swc/core": "^1.2.90",
|
|
"@swc/jest": "^0.1.5",
|
|
"@swc/register": "^0.1.7",
|
|
"autoprefixer": "^10.3.3",
|
|
"cross-env": "^7.0.3",
|
|
"cssnano": "^5.0.8",
|
|
"esbuild": "^0.13.2",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"jest": "^27.1.0",
|
|
"jest-diff": "^27.2.0",
|
|
"postcss": "^8.3.6",
|
|
"postcss-cli": "^8.3.1",
|
|
"prettier": "^2.4.1",
|
|
"rimraf": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"autoprefixer": "^10.0.2",
|
|
"postcss": "^8.0.9"
|
|
},
|
|
"dependencies": {
|
|
"arg": "^5.0.1",
|
|
"chalk": "^4.1.2",
|
|
"chokidar": "^3.5.2",
|
|
"color-name": "^1.1.4",
|
|
"cosmiconfig": "^7.0.1",
|
|
"detective": "^5.2.0",
|
|
"didyoumean": "^1.2.2",
|
|
"dlv": "^1.1.3",
|
|
"fast-glob": "^3.2.7",
|
|
"glob-parent": "^6.0.1",
|
|
"is-glob": "^4.0.1",
|
|
"normalize-path": "^3.0.0",
|
|
"object-hash": "^2.2.0",
|
|
"postcss-js": "^3.0.3",
|
|
"postcss-load-config": "^3.1.0",
|
|
"postcss-nested": "5.0.6",
|
|
"postcss-selector-parser": "^6.0.6",
|
|
"postcss-value-parser": "^4.1.0",
|
|
"quick-lru": "^5.1.1",
|
|
"resolve": "^1.20.0",
|
|
"tmp": "^0.2.1"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"not edge <= 18",
|
|
"not ie 11",
|
|
"not op_mini all"
|
|
],
|
|
"jest": {
|
|
"testTimeout": 30000,
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/jest/customMatchers.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/integrations/"
|
|
],
|
|
"transform": {
|
|
"\\.js$": "@swc/jest"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=12.13.0"
|
|
}
|
|
}
|