tailwindcss/package.json

124 lines
3.2 KiB
JSON
Raw Normal View History

2017-07-20 08:38:55 -04:00
{
"name": "tailwindcss",
2021-08-30 13:01:08 +02:00
"version": "2.2.9",
2017-10-31 22:21:12 -04:00
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
2017-07-20 08:38:55 -04:00
"license": "MIT",
2017-08-28 15:02:50 -05:00
"main": "lib/index.js",
"style": "dist/tailwind.css",
"repository": "https://github.com/tailwindlabs/tailwindcss.git",
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
2017-10-31 22:21:12 -04:00
"homepage": "https://tailwindcss.com",
"bin": {
"tailwind": "lib/cli.js",
"tailwindcss": "lib/cli.js"
},
2017-08-03 22:47:45 -04:00
"contributors": [
"Adam Wathan <adam.wathan@gmail.com>",
2017-08-26 14:36:40 -05:00
"Jonathan Reinink <jonathan@reinink.ca>",
"David Hemphill <davidlee.hemphill@gmail.com>"
2017-08-03 22:47:45 -04:00
],
2017-08-25 16:02:12 -05:00
"scripts": {
"prebabelify": "npm run generate:plugin-list && rimraf lib",
"babelify": "babel src --out-dir lib --copy-files",
"postbabelify": "ncc build lib/cli-peer-dependencies.js -o peers",
2020-02-03 11:00:11 -05:00
"rebuild-fixtures": "npm run babelify && babel-node scripts/rebuildFixtures.js",
Remove AOT (#5340) * make `jit` mode the default when no mode is specified * unify JIT and AOT codepaths * ensure `Object.entries` on undefined doesn't break It could be that sometimes you don't have values in your config (e.g.: `presets: []`), this in turn will break some plugins where we assume we have a value. * drop AOT specific tests These tests are all covered by JIT mode already and were AOT specific. * simplify tests, and add a few Some of the tests were written for AOT specifically, some were missing. We also updated the way we write those tests, essentially making Tailwind a blackbox, by testing against the final output. Now that JIT mode is the default, this is super fast because we only generate what is used, instead of partially testing in a 3MB file or building it all, then purging. * add some todo's to make sure we warn in a few cases * make `darkMode: 'media'`, the default This also includes moving dark mode tests to its own dedicated file. * remove PostCSS 7 compat mode * update CLI to be JIT-first * fix integration tests This is not a _real_ fix, but it does solve the broken test for now. * warn when using @responsive or @variants * remove the JIT preview warning * remove AOT-only code paths * remove all `mode: 'jit'` blocks Also remove `variants: {}` since they are not useful in `JIT` mode anymore. * drop unused dependencies * rename `purge` to `content` * remove static CDN builds * mark `--purge` as deprecated in the CLI This will still work, but a warning will be printed and it won't show up in the `--help` output. * cleanup nesting plugin We don't have to duplicate it anymore since there is no PostCSS 7 version anymore. * make sure integration tests run in band * cleanup folder structure * make sure nesting folder is available * simplify resolving of purge/content information
2021-09-01 17:13:59 +02:00
"prepublishOnly": "npm install --force && npm run babelify",
2017-11-04 01:32:25 -05:00
"style": "eslint .",
"test": "cross-env TAILWIND_MODE=build jest",
"test:integrations": "npm run test --prefix ./integrations",
"install:integrations": "node scripts/install-integrations.js",
2020-11-19 12:39:00 -05:00
"posttest": "npm run style",
"generate:plugin-list": "babel-node scripts/create-plugin-list.js"
2017-08-25 16:02:12 -05:00
},
2020-06-28 11:19:55 +02:00
"files": [
2021-09-06 19:26:24 +01:00
"src/*",
"cli/*",
2020-06-28 11:19:55 +02:00
"lib/*",
"peers/*",
2020-06-28 11:19:55 +02:00
"scripts/*.js",
"stubs/*.stub.js",
"nesting/*",
2020-06-28 11:19:55 +02:00
"*.css",
"*.js"
],
"devDependencies": {
2021-07-31 10:48:04 +00:00
"@babel/cli": "^7.14.8",
2021-08-17 18:26:48 +00:00
"@babel/core": "^7.15.0",
"@babel/node": "^7.12.13",
2021-08-17 18:26:48 +00:00
"@babel/preset-env": "^7.15.0",
"@tailwindcss/aspect-ratio": "^0.2.1",
2021-08-21 22:17:49 +00:00
"@vercel/ncc": "^0.29.2",
2021-08-28 18:41:23 +00:00
"autoprefixer": "^10.3.3",
2021-09-03 10:16:51 +00:00
"babel-jest": "^27.1.0",
"cross-env": "^7.0.3",
2021-08-25 10:11:23 +00:00
"cssnano": "^5.0.8",
2021-08-14 22:11:31 +00:00
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
2021-09-03 10:16:51 +00:00
"jest": "^27.1.0",
2021-09-03 10:12:03 +00:00
"jest-diff": "^27.1.0",
2021-07-31 10:47:49 +00:00
"postcss": "^8.3.6",
2021-04-02 12:07:29 -04:00
"postcss-cli": "^8.3.1",
2021-07-03 10:41:57 +00:00
"prettier": "^2.3.2",
2021-04-02 12:07:29 -04:00
"rimraf": "^3.0.0"
},
2020-11-15 16:13:48 -05:00
"peerDependencies": {
"autoprefixer": "^10.0.2",
"postcss": "^8.0.9"
},
"dependencies": {
2021-08-24 02:25:59 +00:00
"arg": "^5.0.1",
2021-08-06 12:26:01 +00:00
"chalk": "^4.1.2",
2021-06-22 13:41:47 +00:00
"chokidar": "^3.5.2",
2021-08-28 22:56:03 +00:00
"cosmiconfig": "^7.0.1",
2021-08-04 20:31:04 -07:00
"culori": "^0.19.1",
2019-08-11 12:32:46 +03:00
"detective": "^5.2.0",
2021-07-01 14:14:46 +00:00
"didyoumean": "^1.2.2",
"dlv": "^1.1.3",
2021-07-15 19:42:35 +00:00
"fast-glob": "^3.2.7",
2021-07-31 10:48:10 +00:00
"glob-parent": "^6.0.1",
"is-glob": "^4.0.1",
"normalize-path": "^3.0.0",
2021-06-02 09:11:42 +00:00
"object-hash": "^2.2.0",
2020-11-15 16:13:48 -05:00
"postcss-js": "^3.0.3",
"postcss-load-config": "^3.1.0",
2021-08-04 10:41:59 +00:00
"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"
},
2017-11-08 08:36:56 -05:00
"browserslist": [
"> 1%",
"not edge <= 18",
"not ie 11",
"not op_mini all"
2017-11-08 08:36:56 -05:00
],
2017-08-26 14:36:40 -05:00
"babel": {
"presets": [
[
"@babel/preset-env",
2017-08-26 14:36:40 -05:00
{
"targets": {
"node": "12.13.0"
2017-08-26 14:36:40 -05:00
}
}
]
]
},
"jest": {
2020-10-18 15:37:42 -04:00
"testTimeout": 30000,
"setupFilesAfterEnv": [
"<rootDir>/jest/customMatchers.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/integrations/"
]
},
"engines": {
"node": ">=12.13.0"
2017-08-26 14:36:40 -05:00
}
2017-07-20 08:38:55 -04:00
}