0.2.0 • Published 1 year ago
better-react-tab-system-viethuy1234 v0.2.0
How to publish new version
- Replace the file package.json with this file to build new
dist
folder, make sure you change the version
{
"name": "@proxymanllc/better-react-tab-system",
"version": "0.1.0",
"description": "React Tab System for Proxyman Windows",
"author": "ProxymanLLC",
"license": "MIT",
"repository": "https://github.com/ProxymanApp/better-react-tab-system",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"keywords": [
"react",
"tab"
],
"scripts": {
"build": "rollup -c"
},
"peerDependencies": {
"prop-types": "^15.5.4",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"devDependencies": {
"react": "^18.1.0",
"react-dom": "^18.1.0",
"@svgr/rollup": "^2.4.1",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.5",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"cross-env": "^5.1.4",
"rollup": "^0.64.1",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-url": "^1.4.0"
},
"files": [
"dist"
],
"dependencies": {
"styled-components": "^5.1.0"
}
}
- Run
npm i
thennpm run build
- Then replace your package.json file with this file to remove the unnecessary dependencies in package.json
{
"name": "@proxymanllc/better-react-tab-system",
"version": "0.2.0",
"description": "React Tab System for Proxyman Windows",
"author": "ProxymanLLC",
"license": "MIT",
"repository": "https://github.com/ProxymanApp/better-react-tab-system",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"keywords": [
"react",
"tab"
],
"scripts": {},
"peerDependencies": {
"prop-types": "^15.5.4",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"devDependencies": {
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"files": [
"dist"
],
"dependencies": {
"styled-components": "^5.1.0"
}
}
- Delete the
node_modules
folder, then runnpm i
- Run
npm publish --access public
to publish new version (require the authentication code)
0.2.0
1 year ago