forked from krausest/js-framework-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 2.77 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
{
"name": "js-framework-benchmark",
"version": "1.0.0",
"description": "Simple Benchmark for Javascript client side rendering",
"scripts": {
"clean": "node cleanup.js",
"build": "node build.js",
"build-prod": "node build.js",
"compile": "node build.js",
"start": "http-server -c-1 .",
"bench": "cd webdriver-ts && npm run selenium && npm run results",
"selenium": "cd webdriver-ts && npm run selenium && npm run results",
"install-webdriver-ts": "cd webdriver-ts && npm install && npm run build-prod",
"install-webdriver-ts-results": "cd webdriver-ts-results && npm install",
"install-local": "npm run install-webdriver-ts && npm run install-webdriver-ts-results",
"docker-build-image": "docker build -t js-framework-benchmark-centos -f Dockerfile .",
"docker-start": "cross-env-shell docker run --rm -d -p 8080:8080 --name js-framework-benchmark --volume ${INIT_CWD}:/src --volume js-framework-benchmark:/build js-framework-benchmark-centos",
"docker-stop": "docker stop js-framework-benchmark",
"docker-sync": "docker exec -it js-framework-benchmark rsync -avC --exclude /index.html --exclude /framework/**/dist --exclude /webdriver-ts*/dist --exclude package-lock.json --exclude node_modules --exclude webdriver-ts/results /src/ /build/",
"docker-build-frameworks": "npm run docker-sync && docker exec -it js-framework-benchmark npm install && docker exec -it js-framework-benchmark node build.js",
"docker-install-webdriver": "npm run docker-sync && docker exec -it js-framework-benchmark npm run install-local",
"docker-rebuild": "npm run docker-sync && docker exec -it -w /build/webdriver-ts js-framework-benchmark npm run rebuild --headless",
"docker-bench": "docker exec -it -w /build/webdriver-ts js-framework-benchmark node dist/benchmarkRunner.js --headless",
"docker-results": "docker exec -it -w /build/webdriver-ts js-framework-benchmark npm run results",
"docker-shell": "docker exec -it js-framework-benchmark /bin/bash",
"docker-dev-webdriver": "npm run docker-sync && docker exec -it -w /build/webdriver-ts js-framework-benchmark npm run compile && docker exec -it -w /build/webdriver-ts js-framework-benchmark node dist/benchmarkRunner.js --headless"
},
"keywords": [
"benchmark",
"javascript",
"frontend",
"client",
"react",
"angular",
"mithril"
],
"repository": {
"type": "git",
"url": "https://github.com/krausest/js-framework-benchmark.git"
},
"author": "Stefan Krause",
"license": "ISC",
"homepage": "https://github.com/krausest/js-framework-benchmark",
"dependencies": {
"command-exists": "1.0.2",
"fs-extra": "0.30.0",
"http-server": "0.10.0",
"lodash": "^4.15.0",
"rimraf": "^2.6.2",
"yargs": "^12.0.1",
"cross-env": "^5.2.0"
}
}