-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.68 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
{
"name": "gouuid",
"version": "1.0.0",
"description": "get the uuid package to get uuid v6, v7 versions of uuid using gouuidjs - wasm port of google uuid package",
"main": "index.js",
"exports": {
"require": "./index.js",
"import": "./index.mjs"
},
"unpkg": "index.min.js",
"scripts": {
"preinstall": "npm i wasm-opt -g",
"iwasmopt": "npm i wasm-opt -g",
"copywasmexecjs": "cp '$(go env GOROOT)/misc/wasm/wasm_exec.js' .",
"buildwasm": "set GOOS = 'js'; set GOARCH = 'wasm'; go build -o gouuid.wasm main.go",
"test": "mocha --reporter spec --recursive --timeout 60000",
"gobuild": "go build",
"gitadd": "git add .",
"uglify": "uglifyjs --compress --mangle reserved=['$','require','exports'] index.js -o index.min.js"
},
"directories": {
"test": "test"
},
"pre-commit": [
"gobuild",
"buildwasm",
"gitadd",
"test"
],
"keywords": [
"js",
"wasm",
"uuid",
"uuid v6",
"uuid v7",
"uuid v4",
"create uuid",
"rfc4412",
"generate uuid"
],
"devDependencies": {
"@types/node": "^20.11.16",
"chai": "^4.4.1",
"live-server": "^1.2.2",
"mocha": "^10.2.0",
"pre-commit": "^1.2.2",
"pre-push": "^0.1.4",
"sinon": "^17.0.1",
"typescript": "^5.3.3",
"uglify-js": "^3.17.4",
"unimported": "^1.31.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ganeshkbhat/gouuid.git"
},
"bugs": {
"url": "https://github.com/ganeshkbhat/gouuid/issues"
},
"homepage": "https://github.com/ganeshkbhat/gouuid.git#readme",
"author": "Ganesh B <[email protected]>",
"license": "MIT",
"dependencies": {
"node-fetch": "^3.3.2"
}
}