rcheevos 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "rcheevos",
3
+ "version": "0.1.0",
4
+ "author": "Miguel Piedrafita <npm@miguel.build>",
5
+ "license": "MIT",
6
+ "description": "Generate ROM hashes using a WASM build of rcheevos",
7
+ "sideEffects": false,
8
+ "type": "module",
9
+ "main": "./dist/umd/index.js",
10
+ "module": "./dist/es/index.js",
11
+ "types": "./dist/types/entrypoints/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/types/entrypoints/index.d.ts",
15
+ "node": "./dist/node/index.cjs",
16
+ "import": "./dist/es/index.js",
17
+ "default": "./dist/cjs/index.cjs"
18
+ },
19
+ "./slim": {
20
+ "types": "./dist/types/entrypoints/index.d.ts",
21
+ "node": "./dist/node/index.cjs",
22
+ "import": "./dist/es-slim/index_slim.js",
23
+ "default": "./dist/cjs-slim/index_slim.cjs"
24
+ },
25
+ "./rcheevos.wasm": "./dist/rcheevos.wasm",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "scripts": {
32
+ "prepare": "bun run build",
33
+ "build:js": "rollup --config",
34
+ "build:wasm": "./scripts/build-wasm.sh",
35
+ "build": "bun run build:wasm && bun run build:js"
36
+ },
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git://github.com/m1guelpf/rcheevos-wasm.git"
40
+ },
41
+ "keywords": [
42
+ "wasm",
43
+ "rcheevos",
44
+ "retroachievements"
45
+ ],
46
+ "devDependencies": {
47
+ "@rollup/plugin-typescript": "^12.3.0",
48
+ "@rollup/plugin-wasm": "^6.2.2",
49
+ "prettier": "^3.7.4",
50
+ "prettier-plugin-sort-imports-desc": "^1.0.0",
51
+ "rollup": "^4.53.3",
52
+ "tslib": "^2.8.1"
53
+ },
54
+ "prettier": {
55
+ "semi": false,
56
+ "tabWidth": 4,
57
+ "useTabs": true,
58
+ "printWidth": 120,
59
+ "singleQuote": true,
60
+ "parser": "babel-ts",
61
+ "trailingComma": "es5",
62
+ "arrowParens": "avoid",
63
+ "bracketSpacing": true,
64
+ "plugins": [
65
+ "prettier-plugin-sort-imports-desc"
66
+ ]
67
+ }
68
+ }