Skip to content

Commit

Permalink
Merge pull request #483 from ux3d/npm-run-warning-from-root
Browse files Browse the repository at this point in the history
Print warning when running npm run dev/build from root
  • Loading branch information
UX3D-kanzler authored Sep 5, 2023
2 parents cd72885 + b6a30d3 commit 1b43387
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"url": "git+https://github.com/KhronosGroup/glTF-Sample-Viewer.git"
},
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"build": "echo 'Please run `npm run build` from the `app_web` or `app_headless` directory.'",
"dev": "echo 'Please run `npm run dev` from the `app_web` or `app_headless` directory.'",
"prepublishOnly": "npm run build && npm run build_docs",
"build_docs": "rm API.md; ./node_modules/.bin/jsdoc2md source/gltf-sample-viewer.js source/GltfView/gltf_view.js source/GltfState/gltf_state.js source/ResourceLoader/resource_loader.js source/gltf/user_camera.js > API.md",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down Expand Up @@ -47,4 +47,4 @@
"url": "https://github.com/KhronosGroup/glTF-Sample-Viewer/issues"
},
"homepage": "https://github.com/KhronosGroup/glTF-Sample-Viewer/#readme"
}
}

0 comments on commit 1b43387

Please sign in to comment.