We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9604fe + dd43b7f commit 99315d9Copy full SHA for 99315d9
Makefile
@@ -1,11 +1,13 @@
1
+NODE_BIN=node_modules/.bin
2
+MOCHA=$(NODE_BIN)/mocha
3
+COMPONENT=$(NODE_BIN)/component
4
5
rework.js:
- @component install
- @component build --standalone rework --out . --name rework
6
+ @$(COMPONENT) install
7
+ @$(COMPONENT) build --standalone rework --out . --name rework
8
9
test:
- @./node_modules/.bin/mocha \
- --require should
10
+ @$(MOCHA) --require should
11
12
clean:
13
rm -f rework.js
package.json
@@ -27,11 +27,12 @@
27
},
28
"devDependencies": {
29
"mocha": "*",
30
- "should": "*"
+ "should": "*",
31
+ "component": "~0.19.9"
32
33
"main": "index",
34
"scripts": {
35
"prepublish": "make rework.js",
36
"test": "mocha --require should --reporter spec"
37
}
-}
38
+}
0 commit comments