-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.39 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "uuid-wasm",
"version": "0.3.1",
"description": "A WebAssembly implementation of UUID v1 generator and parser",
"main": "main.js",
"scripts": {
"clean": "rimraf {tsconfig.tsbuildinfo,built}",
"pret": "prettier --write .",
"lint": "eslint .",
"compile": "tsc -p .",
"buildts": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.types.json && cp package.json built/package.json",
"build": "npm run clean && npm run asm && npm run insert_wasm && npm run buildts && npm run add_package && npm run clone_lic_readme",
"asm": "wat2wasm ./src/gen.wat -o ./src/gen.wasm && wat2wasm ./src/parse.wat -o ./src/parse.wasm",
"insert_wasm": "node insert_wasm.js",
"clone_lic_readme": "cp README.md built && cp LICENSE built",
"add_package": "echo '{\"type\": \"module\"}' > built/esm/package.json && echo '{\"type\": \"commonjs\"}' > built/cjs/package.json",
"start": "npm run compile && npm run asm && node --experimental-wasi-unstable-preview1 ./built/test.js ",
"patch": "npm --no-git-tag-version version patch",
"minor": "npm --no-git-tag-version version minor"
},
"exports": {
".": {
"node": {
"types": "./types/main.d.ts",
"import": "./esm/main.js",
"require": "./cjs/main.js"
},
"default": "./esm/main.js"
}
},
"typesVersions": {
">=4.0": {
"*": [
"types/*"
]
}
},
"types": "./main.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/mishimastar/uuid-wasm.git"
},
"keywords": [
"webassembly",
"uuid",
"parser",
"wasi",
"nodejs",
"typescript"
],
"author": "Sergey Saltykov <[email protected]> (https://github.com/mishimastar)",
"license": "MIT",
"devDependencies": {
"@types/node": "^18.6.3",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"prettier": "^2.7.1"
},
"dependencies": {
"typescript": "^4.7.4"
},
"bugs": {
"url": "https://github.com/mishimastar/uuid-wasm/issues"
},
"homepage": "https://github.com/mishimastar/uuid-wasm#readme",
"engines": {
"node": ">=14.21.3"
}
}