947bf7ac8b
This used to also build the individual playground packages but that's not needed on CI (nor locally). Because Vercel will build them for us. This will safe us some time on CI, since we can run them in parallel now and only build the actual libraries.
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "headlessui",
|
|
"version": "0.0.0",
|
|
"description": "Headless UI components for various libraries like React and Vue",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/tailwindlabs/headlessui",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"react": "yarn workspace @headlessui/react",
|
|
"react-playground": "yarn workspace playground-react dev",
|
|
"playground-react": "yarn workspace playground-react dev",
|
|
"vue": "yarn workspace @headlessui/vue",
|
|
"playground-vue": "yarn workspace playground-vue dev",
|
|
"vue-playground": "yarn workspace playground-vue dev",
|
|
"clean": "yarn workspaces run clean",
|
|
"build": "npm-run-all -p 'react build' 'vue build'",
|
|
"test": "./scripts/test.sh",
|
|
"lint": "./scripts/lint.sh",
|
|
"lint-check": "CI=true ./scripts/lint.sh"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*": "yarn lint-check"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "es5"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/core": "^1.2.131",
|
|
"@swc/jest": "^0.2.17",
|
|
"@testing-library/jest-dom": "^5.11.9",
|
|
"@types/node": "^14.14.22",
|
|
"esbuild": "^0.14.11",
|
|
"husky": "^4.3.8",
|
|
"jest": "26",
|
|
"lint-staged": "^12.2.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.5.1",
|
|
"prettier-plugin-tailwindcss": "^0.1.4",
|
|
"rimraf": "^3.0.2",
|
|
"tslib": "^2.3.1",
|
|
"typescript": "^4.5.4"
|
|
}
|
|
}
|