Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit d9dcdbf

Browse files
committed
remove bench scripts from root package
1 parent f1d8772 commit d9dcdbf

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

bench/.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/.*
2+
!/.gitignore
3+
!/.travis.yml
4+
/bower_components/
5+
/output/

bench/node_modules

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../node_modules/

bench/package.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"postinstall": "bower i",
6+
"bench": "npm run build && npm run run",
7+
"run": "node --expose-gc -e 'require(\"./output/Bench.Main/index.js\").main()'",
8+
"build": "pulp build -- --censor-lib --strict"
9+
}
10+
}
11+

package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"private": true,
33
"scripts": {
4-
"clean": "rimraf output && rimraf .pulp-cache && rimraf bench/output && rimraf bench/.pulp-cache",
5-
"install": "bower i && cd bench && bower i",
6-
"bench": "cd bench && npm run bench:build && npm run bench:run",
7-
"bench:run": "cd bench && node --expose-gc -e 'require(\"./output/Bench.Main/index.js\").main()'",
8-
"bench:build": "cd bench && pulp build",
4+
"clean": "rimraf output && rimraf .pulp-cache",
95
"test": "pulp test",
106
"build": "eslint src && pulp build -- --censor-lib --strict"
117
},
@@ -15,4 +11,4 @@
1511
"purescript-psa": "^0.5.1",
1612
"rimraf": "^2.6.1"
1713
}
18-
}
14+
}

0 commit comments

Comments
 (0)