-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.js
executable file
·32 lines (24 loc) · 869 Bytes
/
package.js
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
Package.describe({
summary: "Ultra-easy acceptance testing with Selenium.",
version: "2.0.1",
name: "clinical:nightwatch",
git: "https://github.com/awatson1978/clinical-nightwatch",
debugOnly: true
});
Npm.depends({
'nightwatch': '0.5.36'
});
Package.onUse(function(api) {
api.versionsFrom('[email protected]');
api.addFiles('globals.json', ['server']);
api.addFiles('launch_nightwatch_from_app_root.sh', ['server']);
api.addFiles('nightwatch_from_app_root.json', ['server']);
api.addFiles('nightwatch_from_velocity.json', ['server']);
api.addFiles('nightwatch_from_velocity_console.json', ['server']);
api.addFiles('selenium/chromedriver', ['server']);
api.addFiles('selenium/selenium-server-standalone-2.44.0.jar', ['server']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.addFiles('clinical:nightwatch-tests.js');
});