lib_um_crypto_rust/um_wasm_loader/package.json

48 lines
1.2 KiB
JSON
Raw Normal View History

{
"packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4",
"name": "@unlock-music/crypto",
"version": "0.1.2",
"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
}
}