File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change
1
+ ignore-optional true
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ In readium-desktop project
17
17
18
18
### Install readium-desktop dependencies
19
19
20
- 1 ) ` yarn install --ignore-optional --pure-lockfile ` (initialize local ` node_modules ` packages from dependencies declared in ` package.json ` )
20
+ 1 ) ` yarn install ` (initialize local ` node_modules ` packages from dependencies declared in ` package.json ` )
21
21
2 ) ` yarn pouchdb:install `
22
22
23
23
### Start application in dev environment
Original file line number Diff line number Diff line change 22
22
"start:dev:renderer" : " webpack-dev-server" ,
23
23
"start:dev:main" : " webpack -d && electron ." ,
24
24
"start:dev" : " concurrently --kill-others \" npm run start:dev:renderer\" \" npm run start:dev:main\" " ,
25
- "pouchdb:install" : " yarn add -O --no-lockfile @types/pouchdb && yarn add --no-lockfile --ignore-scripts -O pouchdb && cd node_modules/pouchdb && cross-env npm_config_runtime=electron npm_config_target=53 yarn add --no-lockfile -O leveldown@latest"
25
+ "pouchdb:install" : " yarn add -O --no-lockfile --ignore-scripts leveldown && yarn add --no-lockfile --ignore-scripts -O pouchdb && cd node_modules/pouchdb && cross-env npm_config_runtime=electron npm_config_target=53 yarn add --no-lockfile leveldown@latest && cd ../.. && yarn remove leveldown --no-lockfile --ignore-scripts "
26
26
},
27
27
"repository" : {
28
28
"type" : " git" ,
110
110
"webpack" : " ^2.2.1" ,
111
111
"webpack-dev-server" : " ^2.4.1"
112
112
},
113
- "optionalDependencies" : {
114
- "pouchdb" : " ^6.2.0"
115
- }
113
+ "optionalDependencies" : {}
116
114
}
You can’t perform that action at this time.
0 commit comments