[6a3a178] | 1 | {
|
---|
| 2 | "name": "hdr-histogram-js",
|
---|
| 3 | "version": "2.0.1",
|
---|
| 4 | "description": "TypeScript port of HdrHistogram",
|
---|
| 5 | "main": "dist/index.js",
|
---|
| 6 | "browser": "dist/hdrhistogram.umd.js",
|
---|
| 7 | "types": "dist/index.d.ts",
|
---|
| 8 | "keywords": [
|
---|
| 9 | "hdr-histogram",
|
---|
| 10 | "hdr-histogram-js",
|
---|
| 11 | "percentiles",
|
---|
| 12 | "monitoring",
|
---|
| 13 | "latency",
|
---|
| 14 | "performance"
|
---|
| 15 | ],
|
---|
| 16 | "scripts": {
|
---|
| 17 | "tsc": "tsc --skipLibCheck --outDir dist --declaration true --sourceMap true",
|
---|
| 18 | "test": "jest",
|
---|
| 19 | "build": "npm run tsc && npm run rollup",
|
---|
| 20 | "prettier": "prettier --parser typescript -l src/**/*.ts",
|
---|
| 21 | "prettier:fix": "prettier --write --parser typescript -l src/**/*.ts",
|
---|
| 22 | "astest": "asp --verbose",
|
---|
| 23 | "astest:ci": "asp --summary",
|
---|
| 24 | "asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug",
|
---|
| 25 | "asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert",
|
---|
| 26 | "asbuild:base64": "echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts",
|
---|
| 27 | "asbuild": "npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64",
|
---|
| 28 | "rollup": "rollup -c"
|
---|
| 29 | },
|
---|
| 30 | "repository": {
|
---|
| 31 | "type": "git",
|
---|
| 32 | "url": "git+https://github.com/HdrHistogram/HdrHistogramJS.git"
|
---|
| 33 | },
|
---|
| 34 | "author": "Alexandre Victoor",
|
---|
| 35 | "license": "BSD",
|
---|
| 36 | "devDependencies": {
|
---|
| 37 | "@as-pect/cli": "^4.0.0",
|
---|
| 38 | "@types/benchmark": "^1.0.31",
|
---|
| 39 | "@types/jest": "^25.2.1",
|
---|
| 40 | "@types/node": "7.0.0",
|
---|
| 41 | "assemblyscript": "^0.12",
|
---|
| 42 | "benchmark": "^2.1.4",
|
---|
| 43 | "benny": "^3.6.14",
|
---|
| 44 | "fast-check": "^1.1.1",
|
---|
| 45 | "jest": "25.1.x",
|
---|
| 46 | "prettier": "^1.6.1",
|
---|
| 47 | "rollup": "^2.8.2",
|
---|
| 48 | "rollup-plugin-commonjs": "^10.1.0",
|
---|
| 49 | "rollup-plugin-node-resolve": "^5.2.0",
|
---|
| 50 | "rollup-plugin-terser": "^5.3.0",
|
---|
| 51 | "rollup-plugin-typescript": "^1.0.1",
|
---|
| 52 | "ts-jest": "25.0.x",
|
---|
| 53 | "ts-loader": "^3.5.0",
|
---|
| 54 | "ts-node": "^5.0.1",
|
---|
| 55 | "typescript": "^3.7.1",
|
---|
| 56 | "yargs": "^6.4.0"
|
---|
| 57 | },
|
---|
| 58 | "dependencies": {
|
---|
| 59 | "@assemblyscript/loader": "^0.10.1",
|
---|
| 60 | "base64-js": "^1.2.0",
|
---|
| 61 | "pako": "^1.0.3"
|
---|
| 62 | },
|
---|
| 63 | "files": [
|
---|
| 64 | ".",
|
---|
| 65 | "dist"
|
---|
| 66 | ]
|
---|
| 67 | }
|
---|