mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Installing NPM packages from GitHub means we don't have the benefit of NPM running our babel/prepare scripts on publish. When you try to install Tailwind, it'll blow up because it tries to run the prepare script on install and none of the dev dependencies are installed. There may be a better way to handle this but there is zero fucking information on the internet about what a "proper" private package development workflow looks like, especially when you have a build step.
80 lines
1.8 KiB
JSON
80 lines
1.8 KiB
JSON
{
|
|
"name": "tailwindcss",
|
|
"version": "0.1.0",
|
|
"description": "A utility-first CSS framework for rapid UI development.",
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"bin": {
|
|
"tailwind": "lib/cli.js"
|
|
},
|
|
"contributors": [
|
|
"Adam Wathan <adam.wathan@gmail.com>",
|
|
"Jonathan Reinink <jonathan@reinink.ca>",
|
|
"David Hemphill <davidlee.hemphill@gmail.com>"
|
|
],
|
|
"scripts": {
|
|
"prebabelify": "rimraf lib",
|
|
"babelify": "babel src --out-dir lib",
|
|
"prepare": "npm run babelify",
|
|
"build": "babel-node src/build.js",
|
|
"watch": "nodemon -e js,css --watch src --exec 'babel-node src/build.js'",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {},
|
|
"dependencies": {
|
|
"babel-cli": "^6.6.5",
|
|
"babel-core": "^6.7.2",
|
|
"babel-jest": "^20.0.3",
|
|
"babel-loader": "^6.2.4",
|
|
"babel-preset-env": "^1.0.0",
|
|
"babel-preset-react": "^6.5.0",
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
"commander": "^2.11.0",
|
|
"jest": "^20.0.4",
|
|
"lodash": "^4.17.4",
|
|
"nodemon": "^1.11.0",
|
|
"normalize.css": "^6.0.0",
|
|
"postcss": "^6.0.9",
|
|
"postcss-cssnext": "^3.0.2",
|
|
"postcss-prettify": "^0.3.4",
|
|
"rimraf": "^2.6.1",
|
|
"stylefmt": "^6.0.0",
|
|
"suitcss-base": "^3.0.0"
|
|
},
|
|
"browserslist": [
|
|
"> 1%"
|
|
],
|
|
"babel": {
|
|
"presets": [
|
|
"babel-preset-react",
|
|
[
|
|
"babel-preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "7.0"
|
|
}
|
|
}
|
|
],
|
|
"babel-preset-stage-3"
|
|
],
|
|
"env": {
|
|
"browsers": {
|
|
"presets": [
|
|
"babel-preset-react",
|
|
[
|
|
"babel-preset-env",
|
|
{
|
|
"targets": {
|
|
"browsers": [
|
|
"last 5 versions"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"babel-preset-stage-3"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|