Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve README info, to be published in npm website #20

Merged
merged 2 commits into from
Nov 24, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Not released
- Improve package.json metadata + README inclusion in npm publication [#20](https://github.com/CartoDB/carto-react-lib/pull/20)

# 1.0.0-beta2 (2020-11-23)
- Fix missing regenerator runtime in the build [#13](https://github.com/CartoDB/carto-react-lib/pull/13)
- Doc updates for api reference
Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@
"description": "CARTO for React",
"scripts": {
"start": "rm -rf dist && mkdir dist && cp package.json ./dist/package.json && webpack --config webpack.prod.js --watch",
"build": "rm -rf dist && mkdir dist && cp package.json ./dist/package.json && webpack --config webpack.prod.js",
"build": "rm -rf dist && mkdir dist && cp package.json ./dist/package.json && cp README.md ./dist/README.md && webpack --config webpack.prod.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

"lint": "eslint 'src/**/*.{js,jsx}'",
"lint:fix": "eslint 'src/**/*.{js,jsx}' --fix",
"storybook": "start-storybook -c src/ui/.storybook -p 6006",
"build-storybook": "build-storybook -c src/ui/.storybook",
"publish-storybook": "build-storybook -c src/ui/.storybook && cd storybook-static && npx vercel --prod --name 'react-ui'",
"publish-storybook-staging": "build-storybook -c src/ui/.storybook && cd storybook-static && npx vercel --prod --name 'react-ui-staging'"
},
"keywords": [],
"keywords": [
"react",
"carto",
"material-ui"
VictorVelarde marked this conversation as resolved.
Show resolved Hide resolved
],
"repository": {
"type": "git",
"url": "https://github.com/CartoDB/carto-react-lib.git"
},
"author": "CARTO Dev Team",
"license": "BSD-3-Clause",
"devDependencies": {
Expand Down Expand Up @@ -45,4 +53,4 @@
"dependencies": {
"@babel/runtime": "^7.12.5"
}
}
}