-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 3.52 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
{
"name": "rdtsc",
"version": "3.0.4",
"description": "The most high resolution cross platform timing in NodeJs that use processor command RDTSC. Calculate performance with accuracy +/- 4 processor cycles.",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": ">=12.4.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NikolayMakhonin/nodejs-rdtsc.git"
},
"keywords": [
"native",
"high-resolution",
"performance",
"timing",
"rdtsc",
"benchmark",
"processor-cycles",
"tick",
"stopwatch",
"duration",
"thread-priority",
"process-priority",
"cross-platform"
],
"author": {
"name": "Nikolay Makhonin",
"url": "https://github.com/NikolayMakhonin/"
},
"license": "Unlimited Free",
"bugs": {
"url": "https://github.com/NikolayMakhonin/nodejs-rdtsc/issues"
},
"homepage": "https://github.com/NikolayMakhonin/nodejs-rdtsc",
"publishConfig": {
"access": "public"
},
"scripts": {
"// install": "cmake-js compile",
"install": "npm run build:gyp",
"prepublishOnly": "pnpm run audit && pnpm run build && pnpm run lint && pnpm run test:mocha:ci",
"audit": "pnpm audit --prod",
"lint": "eslint ./**/*.{js,cjs,mjs,ts,tsx}",
"lint:fix": "eslint --fix ./**/*.{js,cjs,mjs,ts,tsx}",
"lint:wizard": "eslint-nibble --cache --multi ./**/*.{js,cjs,mjs,ts,tsx}",
"build:js": "rimraf dist && cpy \"**/assets/**\" \"**/*.{js,cjs,mjs}\" \"../dist/\" --parents --cwd=src && rollup -c",
"build:gyp": "node-gyp configure && node-gyp build",
"build": "rimraf dist build && pnpm run build:gyp && pnpm run build:js",
"coverage:merge": "rimraf tmp/coverage/{all,merge} && cp-flat \"tmp/coverage/*/json/**/*.json\" \"tmp/coverage/merge\" && nyc report -r lcov --report-dir tmp/coverage/all/lcov --temp-dir \"tmp/coverage/merge/\"",
"coverage:check": "pnpm run coverage:merge && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 50 --functions 50 --branches 50 --statements 50",
"test:mocha": "mocha ./src/**/*.test.*",
"test:mocha:coverage": "rimraf tmp/coverage/mocha && nyc --all mocha ./src/**/*.test.*",
"test:mocha:watch": "mocha --watch ./src/**/*.test.*",
"test:mocha:ci": "rimraf tmp/coverage/mocha && mocha ./{src,dist}/**/*.test.*",
"coveralls": "pnpm run coverage:check && nyc report --reporter=text-lcov --temp-dir \"tmp/coverage/merge/\" | coveralls"
},
"devDependencies": {
"@flemist/copy-glob-flat": "0.0.5",
"@flemist/test-utils": "0.0.7",
"@flemist/test-variants": "0.0.14",
"@rollup/plugin-alias": "3.1.9",
"@rollup/plugin-commonjs": "=21.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-replace": "4.0.0",
"@rollup/plugin-typescript": "8.3.3",
"@rollup/pluginutils": "4.2.1",
"@types/assert": "1.5.6",
"@types/fs-extra": "9.0.13",
"@types/mocha": "9.1.1",
"@types/node": "18.0.0",
"@zerollup/ts-transform-paths": "1.7.18",
"cmake-js": "7.3.0",
"cpy-cli": "=3.1.1",
"eslint": "8.18.0",
"eslint-config-pro": "3.0.15",
"fs-extra": "10.1.0",
"globby": "=11.1.0",
"mocha": "9.2.2",
"node-addon-api": "8.1.0",
"nodemon": "2.0.16",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rollup": "2.75.7",
"rollup-plugin-delete": "2.0.0",
"rollup-plugin-multi-input": "1.3.1",
"ts-node": "=10.8.0",
"tsconfig-paths": "4.0.0",
"typescript": "4.7.4"
},
"dependencies": {
"tslib": "2.4.0"
}
}