forked from shuding/stable-hash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.17 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
{
"name": "stable-hash",
"version": "0.0.4",
"description": "Stable JS value hash.",
"repository": "https://github.com/shuding/stable-hash",
"author": "Shu Ding",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"files": [
"dist/**"
],
"scripts": {
"build:mjs": "esbuild src/index.ts --minify --target=es6 --outdir=dist --out-extension:.js=.mjs",
"build:cjs": "esbuild src/index.ts --minify --target=es6 --outdir=dist --format=cjs",
"build:types": "tsc --emitDeclarationOnly --declaration -p tsconfig.build.json",
"build": "yarn build:mjs && yarn build:cjs && yarn build:types",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^28.1.3",
"base64-url": "^2.3.3",
"esbuild": "^0.12.28",
"flattie": "^1.1.0",
"hash-obj": "^4.0.0",
"jest": "^28.1.1",
"json-stringify-deterministic": "^1.0.7",
"nanobench": "^2.1.1",
"prettier": "^2.7.1",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
},
"prettier": {
"semi": false
}
}