mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-16 21:39:29 -07:00
Added a non-vite test, to be sure the rolled up libraries can run outside a bundler. Currently, they can't.
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "npm run format && npm run build && vite --config tools/dev.config.js --open /tools/test/index.html",
|
||||
"test": "http-server -c-1 --cors -o tools/test/index.html",
|
||||
"test-bundles": "npm run format && npm run build && vite --config tools/dev.config.js --open /tools/test/index.html",
|
||||
"dev": "npm run format && vite --config tools/dev.config.js",
|
||||
"build": "npm run format && rm -rf ./dist/* && vite build --config tools/vite/core.config.js && vite build --config tools/vite/full.config.js",
|
||||
"format": "eslint . && prettier --write --no-error-on-unmatched-pattern 'js/**/*.{js,jsx,mjs,json}' '*.{js,jsx,mjs,json,html}' 'assets/**/*.{json,css}'"
|
||||
@@ -22,6 +23,7 @@
|
||||
},
|
||||
"keywords": [
|
||||
"rain",
|
||||
"digital-rain",
|
||||
"matrix",
|
||||
"javascript",
|
||||
"webgl",
|
||||
@@ -60,6 +62,7 @@
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.19",
|
||||
"globals": "^16.0.0",
|
||||
"http-server": "^14.1.1",
|
||||
"prettier": "^3.5.3",
|
||||
"vite": "^6.3.5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user