https://github.com/phetsims/phet-lib
Contains built versions of PhET common code libraries
https://github.com/phetsims/phet-lib
Last synced: 5 months ago
JSON representation
Contains built versions of PhET common code libraries
- Host: GitHub
- URL: https://github.com/phetsims/phet-lib
- Owner: phetsims
- License: mit
- Created: 2022-10-25T00:41:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-09-18T13:17:32.000Z (9 months ago)
- Last Synced: 2025-11-27T09:32:07.122Z (7 months ago)
- Language: TypeScript
- Size: 26.8 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
phet-lib
=======
Contains built versions of PhET common code libraries.
### Building the standalone phet-lib.js
`grunt`
This will place the built files in the build/ directory. Copy them over to the dist/ directory if you want to publish them.
### Building the phet-lib NPM package
`node js/build.js`
Then test using local references, e.g. instead of "phet-lib": "~0.08", use "phet-lib": "file:../phet-lib".
Then for publishing:
- `npm pack --dry-run` (to see what files will be included)
- `npm version patch` (or minor/major)
- `npm publish` (once ready)
### License
See the [license](LICENSE)