Skip to content

Commit

Permalink
Print warning when running npm run dev/build from root
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-ec committed Aug 14, 2023
1 parent ba6678f commit b6a30d3
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 @@ -46,4 +46,4 @@
"url": "https://github.com/KhronosGroup/glTF-Sample-Viewer/issues"
},
"homepage": "https://github.com/KhronosGroup/glTF-Sample-Viewer/#readme"
}
}

0 comments on commit b6a30d3

Please sign in to comment.