-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "rebenchmark",
"version": "2.0.0",
"description": "Benchmark.js runner for Node.js and browsers with BDD interface (like Mocha).",
"bin": {
"rebenchmark": "./bin/module/rebenchmark.js",
"rebenchmark-cjs": "./bin/commonjs/rebenchmark.js"
},
"type": "module",
"main": "./commonjs/node/index.js",
"module": "./module/node/index.js",
"exports": {
".": {
"import": "./module/index.js",
"require": "./commonjs/index.js"
},
"./": {
"import": "./module/",
"require": "./commonjs/"
},
"./module/": "./module/",
"./commonjs/": "./commonjs/"
},
"types": "./module/core/global.d.ts",
"scripts": {
"start": "node ./module/node/entry.js",
"clean:commonjs": "rimraf commonjs",
"build:commonjs": "npm run clean:commonjs && ttsc --project config/tsconfig.commonjs.json && copyfiles -u 1 \"lib/**/*.d.ts\" commonjs && copyfiles -u 1 config/package.commonjs.json commonjs && node scripts/rename.js commonjs/package.commonjs.json commonjs/package.json",
"clean:module": "rimraf module",
"build:module": "npm run clean:module && ttsc --project config/tsconfig.module.json && copyfiles -u 1 \"lib/**/*.d.ts\" module",
"watch:module": "ttsc --watch --project config/tsconfig.module.json",
"clean:browser": "rimraf stage/browser",
"build:browser": "npm run clean:browser && webpack --config=webpack.config.cjs --mode production --progress",
"clean": "rimraf commonjs module stage",
"build": "npm run build:commonjs && npm run build:module && npm run build:browser",
"test": "cross-env TS_NODE_PROJECT=config/tsconfig.test.json node --experimental-specifier-resolution node --loader ts-node/esm.mjs node_modules/mocha/lib/cli/cli 'test/**/*.ts'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/evg656e/rebenchmark.git"
},
"keywords": [
"benchmark",
"benchmarkjs",
"bdd"
],
"author": "evg656e <evg656e@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/evg656e/rebenchmark/issues"
},
"homepage": "https://github.com/evg656e/rebenchmark#readme",
"dependencies": {
"benchmark": "^2.1.4",
"glob": "^7.1.6",
"glob-promise": "^3.4.0",
"lodash": "^4.17.19",
"platform": "^1.3.6",
"styled-cli-table": "^1.3.0",
"yargs": "^15.4.0"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@evg656e/typescript-transformer-append-js-extension": "^1.0.3",
"@types/benchmark": "^1.0.33",
"@types/lodash": "^4.14.157",
"@types/mocha": "^7.0.2",
"@types/platform": "^1.3.2",
"@types/webpack": "^4.41.21",
"@types/yargs": "^15.0.5",
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"copyfiles": "^2.3.0",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"mocha": "^8.0.1",
"rimraf": "^3.0.2",
"ts-node": "^8.10.2",
"ts-transformer-replace-paths": "^1.0.1",
"ttypescript": "^1.5.10",
"typescript": "^3.9.6",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
},
"files": [
"bin",
"stage",
"module",
"commonjs"
]
}