16 lines
755 B
JSON
16 lines
755 B
JSON
{
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "wasm-pack build --target bundler && node -e \"const p=JSON.parse(require('fs').readFileSync('pkg/package.json'));p.bin={soliton:'bin/soliton.js'};p.files.push('bin/soliton.js');p.publishConfig={registry:'https://git.lo.sh/api/packages/lo/npm/'};require('fs').writeFileSync('pkg/package.json',JSON.stringify(p,null,2))\" && rm -rf pkg/bin && cp -r bin pkg/bin",
|
|
"test": "vitest run",
|
|
"test:browser": "vitest run --config vitest.browser.config.js",
|
|
"test:all": "vitest run && vitest run --config vitest.browser.config.js"
|
|
},
|
|
"devDependencies": {
|
|
"@vitest/browser": "^3.2.4",
|
|
"playwright": "^1.59.0",
|
|
"vite-plugin-wasm": "^3.6.0",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|