72 lines
2.2 KiB
JSON
72 lines
2.2 KiB
JSON
|
{
|
||
|
"name": "library-template",
|
||
|
"version": "1.0.1",
|
||
|
"type": "module",
|
||
|
"exports": {
|
||
|
"./*": "./dist/components/*/index.js"
|
||
|
},
|
||
|
"types": "dist/index.d.ts",
|
||
|
"files": [
|
||
|
"dist"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"peerDependencies": {
|
||
|
"prop-types": "^15",
|
||
|
"react": "^16",
|
||
|
"react-dom": "^16"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"beforeUpdate": "node -e \"console.log('Para generar el css quitar type module de package json')\"",
|
||
|
"updateCss": "tailwindcss -i ./styles/globals.css -o ./styles/generated/output.css",
|
||
|
"generateRollupFile": "node generateRollupConfig.cjs",
|
||
|
"rollupPrebuild": "rimraf srs && rimraf dist",
|
||
|
"rollupBuild": "rollup -c --bundleConfigAsCjs",
|
||
|
"rollupBuildProd": "rollup -c --environment NODE_ENV:production",
|
||
|
"deploy": "git pull origin main && yarn rollupPrebuild && yarn rollupBuildProd && git add . && yarn version --patch && git push origin dev_ja && git push origin --tags"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@babel/core": "^7.23.7",
|
||
|
"@babel/plugin-transform-runtime": "^7.23.7",
|
||
|
"@babel/preset-env": "^7.23.8",
|
||
|
"@babel/preset-react": "^7.23.3",
|
||
|
"@babel/preset-typescript": "^7.23.3",
|
||
|
"@babel/runtime": "^7.20.7",
|
||
|
"@rollup/plugin-babel": "^6.0.4",
|
||
|
"@rollup/plugin-commonjs": "^25.0.7",
|
||
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
||
|
"@rollup/plugin-typescript": "^11.1.6",
|
||
|
"autoprefixer": "^10.4.17",
|
||
|
"babel-plugin-macros": "^3.1.0",
|
||
|
"eslint": "^8.56.0",
|
||
|
"eslint-config-next": "^14.0.4",
|
||
|
"eslint-config-standard": "^17.1.0",
|
||
|
"eslint-plugin-import": "^2.29.1",
|
||
|
"eslint-plugin-n": "^16.6.2",
|
||
|
"eslint-plugin-node": "^11.1.0",
|
||
|
"eslint-plugin-promise": "^6.1.1",
|
||
|
"eslint-plugin-react": "^7.33.2",
|
||
|
"eslint-plugin-tailwindcss": "^3.14.0",
|
||
|
"postcss": "^8.4.33",
|
||
|
"prop-types": "^15",
|
||
|
"react": "^16.14.0",
|
||
|
"react-dom": "^16.14.0",
|
||
|
"require-context": "^1.1.0",
|
||
|
"rollup": "^4.9.5",
|
||
|
"rollup-plugin-postcss": "^4.0.2",
|
||
|
"rollup-plugin-tailwindcss": "^1.0.0",
|
||
|
"rollup-plugin-terser": "^7.0.2",
|
||
|
"tailwindcss": "^3.4.1",
|
||
|
"typescript": "^5.3.3"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"class-variance-authority": "^0.7.0",
|
||
|
"tailwind-merge": "^2.2.0",
|
||
|
"tslib": "^2.6.2"
|
||
|
},
|
||
|
"browser": {
|
||
|
"fs": false,
|
||
|
"path": false,
|
||
|
"os": false
|
||
|
}
|
||
|
}
|