-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.19 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
70
71
72
73
74
{
"name": "ui7",
"version": "0.2.3",
"license": "MIT",
"description": "Generate sortable, timestamped UUID's, based on the new-uuid-format-04 RFC draft",
"type": "module",
"main": "dist/cjs/mod.cjs",
"module": "dist/esm/mod.js",
"exports": {
".": {
"import": "./dist/esm/mod.js",
"require": "./dist/cjs/mod.cjs"
}
},
"types": "dist/esm/mod.d.ts",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && concurrently \"npm:build:*\"",
"build:esm": "esbuild --outdir=dist/esm --format=esm --sourcemap --inject:shim/esm/crypto.js src/mod.ts",
"build:cjs": "esbuild --outfile=dist/cjs/mod.cjs --format=cjs --sourcemap --inject:shim/cjs/crypto.js src/mod.ts",
"build:tsd": "tsc --project tsconfig.json --declaration --emitDeclarationOnly",
"check": "concurrently -c cyan,green,yellow,magenta \"npm:tsc\" \"npm:test\" \"npm:lint:check\" \"npm:fmt:check\"",
"tsc": "tsc --project tsconfig.json --noEmit",
"test": "ava",
"lint": "eslint \"src/**/*.{js,ts,tsx}\" --fix",
"lint:check": "eslint \"src/**/*.{js,ts,tsx}\" --max-warnings=0",
"fmt": "prettier --write src shim",
"fmt:check": "prettier --check src shim",
"prepublishOnly": "npm run check && npm run build"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"ava": "^4.3.3",
"concurrently": "^7.4.0",
"esbuild": "^0.15.9",
"eslint-plugin-ava": "^13.2.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^4.8.3"
},
"engines": {
"node": ">=12.0"
},
"repository": {
"type": "git",
"url": "https://github.com/silverlyra/ui7.git"
},
"keywords": [
"uuid",
"uuidv7",
"id-generator"
],
"author": "Lyra Naeseth <[email protected]>",
"bugs": {
"url": "https://github.com/silverlyra/ui7/issues"
},
"homepage": "https://github.com/silverlyra/ui7#readme",
"files": [
"dist/",
"CHANGELOG.md"
],
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm",
"--experimental-global-webcrypto",
"--experimental-specifier-resolution=node"
]
}
}