73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"name": "vite-plugin-wasm",
|
|
"version": "3.5.0",
|
|
"description": "Add WebAssembly ESM integration (aka. Webpack's `asyncWebAssembly`) to Vite and support `wasm-pack` generated modules.",
|
|
"types": "./exports/require.d.cts",
|
|
"main": "./exports/require.cjs",
|
|
"module": "./exports/import.mjs",
|
|
"exports": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./exports/import.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./exports/require.d.cts",
|
|
"default": "./exports/require.cjs"
|
|
}
|
|
},
|
|
"repository": "https://github.com/Menci/vite-plugin-wasm",
|
|
"author": "Menci <huanghaorui301@gmail.com>",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"vite",
|
|
"plugin",
|
|
"wasm",
|
|
"webassembly",
|
|
"wasm-pack",
|
|
"es-modules",
|
|
"modules"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "cross-env NODE_NO_WARNINGS=1 NODE_OPTIONS=--experimental-vm-modules jest --verbose --coverage --forceExit",
|
|
"format": "prettier --write '**/*.{mjs,cjs,js,mts,cts,ts}'",
|
|
"pretest": "yarn --cwd e2e && playwright install firefox && playwright install chromium"
|
|
},
|
|
"packageManager": "yarn@1.22.21",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.0",
|
|
"@babel/preset-env": "^7.26.0",
|
|
"@jest/types": "^29.6.3",
|
|
"@jsona/openapi": "^0.2.5",
|
|
"@syntect/wasm": "^0.0.4",
|
|
"@types/express": "^5.0.0",
|
|
"@types/jest": "^29.5.14",
|
|
"cross-env": "^7.0.3",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"express": "^4.21.2",
|
|
"jest": "^29.7.0",
|
|
"jest-extended": "^4.0.2",
|
|
"mime": "^4.0.6",
|
|
"playwright": "1.23.3",
|
|
"playwright-core": "1.23.3",
|
|
"prettier": "^3.4.2",
|
|
"terser": "^5.37.0",
|
|
"ts-jest": "^29.2.5",
|
|
"typescript": "^5.7.2",
|
|
"vite": "7",
|
|
"wait-port": "^1.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"vite": "^2 || ^3 || ^4 || ^5 || ^6 || ^7"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"files": [
|
|
"/dist",
|
|
"/exports"
|
|
]
|
|
}
|