Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Dependencies of produced npm package now contain all required packages #20

Merged
merged 2 commits into from
May 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ If you want to create the configuration page with react:
"react-dom": "^16.13.1",
"react-icons": "^3.10.0",
"react-scripts": "^3.4.4",
"react-inlinesvg": "^2.2.2",
"@sentry/browser": "^5.29.2",
"@material-ui/core": "^4.11.2",
"@iobroker/adapter-react": "^1.5.6",
"del": "^6.0.0",
"gulp": "^4.0.2"
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ gulp.task('copy', () => Promise.all([
const package_ = require('./package.json');
const packageSrc = require('./src/package.json');
packageSrc.version = package_.version;
packageSrc.dependencies = package_.dependencies;
!fs.existsSync(`${__dirname}/dist`) && fs.mkdirSync(`${__dirname}/dist`);
fs.writeFileSync(`${__dirname}/dist/package.json`, JSON.stringify(packageSrc, null, 2));
resolve();
Expand Down