Skip to content

Commit

Permalink
build works
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Jul 19, 2023
1 parent 4dab08d commit 2d08a93
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 54 deletions.
70 changes: 27 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clean": "npm run clean --workspaces",
"build": "npm run build --workspaces",
"serve": "./node_modules/.bin/http-server -c-1",
"update:package-lock": "npm install && npm run clean && node ./scripts/postinstall.js"
"update:package-lock": "npm install --save && npm run clean && node ./scripts/postinstall.js"
},
"husky": {
"hooks": {
Expand All @@ -23,7 +23,11 @@
"url": "git+https://github.com/google/model-viewer.git"
},
"workspaces": [
"./packages/*"
"./packages/model-viewer",
"./packages/model-viewer-effects",
"./packages/modelviewer.dev",
"./packages/render-fidelity-tools",
"./packages/space-opera"
],
"author": "DevXR Contributors",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/model-viewer-effects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/pngjs": "^6.0.1",
"@types/three": "^0.152.1",
"@types/three": "^0.154.0",
"@ungap/event-target": "^0.2.3",
"@web/test-runner": "^0.16.1",
"@web/test-runner-playwright": "^0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/model-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/pngjs": "^6.0.1",
"@types/three": "^0.152.1",
"@types/three": "^0.154.0",
"@ungap/event-target": "^0.2.3",
"@web/test-runner": "^0.16.1",
"@web/test-runner-playwright": "^0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/render-fidelity-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/pngjs": "^3.4.0",
"@types/puppeteer": "^5.4.6",
"@types/rimraf": "^3.0.1",
"@types/three": "^0.148.0",
"@types/three": "^0.154.0",
"filament": "1.31.5",
"http-server": "^14.1.1",
"lit": "^2.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/space-opera/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"gltf-validator": "^2.0.0-dev.3.5",
"http-server": "^14.1.1",
"js-beautify": "^1.14.0",
"jszip": "^3.6.0",
"jszip": "^3.10.1",
"lit": "^2.7.2",
"npm-run-all": "^4.1.5",
"pwa-helpers": "^0.9.1",
Expand Down
7 changes: 2 additions & 5 deletions packages/space-opera/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,13 @@
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';

const watchFiles = [
'lib/**',
'../model-viewer/lib/**'
];
const watchFiles = ['lib/**', '../model-viewer/lib/**'];

const plugins = [
{
resolveId: (id) => {
if (id === 'jszip') {
return './node_modules/jszip/dist/jszip.min.js';
return '../../node_modules/jszip/dist/jszip.min.js';
}
return null;
},
Expand Down

0 comments on commit 2d08a93

Please sign in to comment.