generated from jonahsnider/typescript-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.15 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "murmurhash-wasm",
"version": "0.0.0-development",
"description": "MurmurHash in WASM for Node.js and the browser",
"keywords": [
"murmurhash",
"murmurhash3",
"crypto",
"wasm",
"hashing",
"hash",
"browser",
"assemblyscript"
],
"homepage": "https://murmurhash-wasm.jonah.pw",
"bugs": {
"url": "https://github.com/jonahsnider/murmurhash-wasm/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jonahsnider/murmurhash-wasm.git"
},
"license": "Apache-2.0",
"author": {
"name": "Jonah Snider",
"email": "jonah@jonahsnider.com",
"url": "https://jonahsnider.com"
},
"sideEffects": false,
"type": "commonjs",
"exports": {
"types": "./dist/index.d.ts",
"node": {
"import": "./dist/node.mjs",
"require": "./dist/node.cjs"
},
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"wasm/mod.wat"
],
"scripts": {
"asbuild": "yarn asbuild:optimized",
"asbuild:optimized": "asc assembly/index.ts --target release",
"asbuild:untouched": "asc assembly/index.ts --target debug",
"benchmarks": "node benchmark/dist/benchmark/index.js",
"build": "yarn run build:esm && yarn run build:cjs && yarn run build:node",
"build:base": "esbuild --bundle --loader:.wasm=binary --external:buffer --external:@assemblyscript/loader src/index.ts --sourcemap=inline",
"prebuild:benchmarks": "rm -rf benchmark/dist",
"build:benchmarks": "yarn run prebuild:benchmarks && tsc --project benchmark/tsconfig.json",
"build:cjs": "yarn run build:base --outfile=dist/index.js --format=cjs",
"build:esm": "yarn run build:base --outfile=dist/index.mjs --format=esm",
"build:node": "yarn run build:node:esm && yarn run build:node:cjs",
"build:node:base": "yarn run build:base --target=node12.20.0 ",
"build:node:cjs": "yarn run build:node:base --outfile=dist/node.cjs --format=cjs",
"build:node:esm": "yarn run build:node:base --outfile=dist/node.mjs --format=esm",
"docs": "typedoc",
"lint": "xo",
"release": "semantic-release",
"style": "prettier --check .",
"test": "jest",
"test:coverage": "jest --coverage",
"pretypes": "rm -rf tsc_types",
"types": "tsc",
"validate-api": "api-extractor run",
"validate-api:local": "api-extractor run --local --verbose"
},
"prettier": "@jonahsnider/prettier-config",
"dependencies": {
"@assemblyscript/loader": "0.27.32",
"buffer": "6.0.3"
},
"devDependencies": {
"@babel/core": "7.26.7",
"@babel/preset-env": "7.26.7",
"@babel/preset-typescript": "7.26.0",
"@jonahsnider/benchmark": "5.1.1",
"@jonahsnider/prettier-config": "1.1.2",
"@jonahsnider/xo-config": "5.3.0",
"@microsoft/api-extractor": "7.49.1",
"@tsconfig/node16": "16.1.3",
"@types/jest": "29.5.14",
"@types/node": "20.17.16",
"assemblyscript": "0.27.32",
"babel-jest": "29.7.0",
"enhanced-resolve": "5.18.0",
"esbuild": "0.24.2",
"jest": "29.7.0",
"prettier": "3.4.2",
"semantic-release": "22.0.12",
"ts-node": "10.9.2",
"typedoc": "0.27.6",
"typescript": "4.9.5",
"xo": "0.60.0"
},
"engines": {
"node": ">=12.20.0"
},
"packageManager": "yarn@3.8.7"
}