-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.6 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
{
"name": "snowflake",
"version": "2.0.2",
"description": "server to generate uniq-id with twitter-snowflake arithmetic",
"private": true,
"type": "module",
"workspaces": [
"./",
"packages/*"
],
"scripts": {
"clean": "rm -rf dist/",
"prebuild": "npm run clean",
"build": "tsc",
"prebuild:image": "npm run clean",
"build:image": "docker build -t yeliex/snowflake:v$npm_package_version -t yeliex/snowflake:latest ./ ",
"prepublish:image": "npm run build:image",
"publish:image": "docker push yeliex/snowflake",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yeliex/snowflake.git"
},
"keywords": [
"snowflake",
"twitter",
"id",
"uniq-id"
],
"author": "yeliex <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yeliex/snowflake/issues"
},
"homepage": "https://github.com/yeliex/snowflake#readme",
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/http-errors": "^1.6.3",
"@types/js-yaml": "^4.0.5",
"@types/koa": "^2.13.6",
"@types/koa-mount": "^4.0.2",
"@types/koa-router": "^7.4.4",
"@types/lodash-es": "^4.14.194",
"@types/node": "^20.1.0",
"lerna": "^6.6.2",
"typescript": "^4.9.5"
},
"dependencies": {
"@yeliex/snowflake": "^2.0.2",
"debug": "^4.3.4",
"http-errors": "^1.6.3",
"js-yaml": "^4.1.0",
"koa": "^2.14.2",
"koa-convert": "^2.0.0",
"koa-mount": "^4.0.0",
"koa-response": "^2.1.0",
"koa-router": "^12.0.0",
"lodash-es": "^4.17.21"
}
}