lib_um_crypto_rust/um_wasm_loader/package.json

47 lines
1.1 KiB
JSON
Raw Normal View History

{
"name": "@unlock-music/crypto",
2024-10-06 18:55:41 +00:00
"version": "0.1.1",
"description": "Project Unlock Music: 加解密支持库",
"scripts": {
"build": "node build.js",
2024-09-20 22:43:51 +00:00
"build:bundle": "rollup -c",
"build:then-publish": "pnpm build && pnpm publish --access=public"
},
"main": "dist/loader.js",
"module": "dist/loader.mjs",
"types": "dist/loader.d.ts",
"exports": {
".": {
"import": "./dist/loader.mjs",
"require": "./dist/loader.js",
"types": "./dist/loader.d.ts"
},
"./inline": {
"require": "./dist/loader-inline.js",
"import": "./dist/loader-inline.js",
"types": "./dist/loader.d.ts"
}
},
"files": [
"dist/",
"LICENSE*"
],
"keywords": [],
"author": "",
"license": "MIT + APACHE 2.0",
"devDependencies": {
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-wasm": "^6.2.2",
"@types/node": "^22.5.2",
"prettier": "^3.3.3",
"rollup": "^4.21.2",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^5.5.4"
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
}