-
Notifications
You must be signed in to change notification settings - Fork 3
/
crossbow.yaml
66 lines (55 loc) · 1.34 KB
/
crossbow.yaml
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
watch:
default:
options:
block: true
'tests:src': '@npm mocha -r ts-node/register tests/**'
tasks:
test:
- build-all
- mocha
- cypress
mocha: '@npm mocha -r ts-node/register tests/**'
cypress:
options:
specs:
- cypress/integration/action-bar.js
- cypress/integration/keyboard.js
- cypress/integration/search.js
tasks: >
cypress/setup/run.js
cypress-open:
adaptor: npm
command: cypress open --env TEST_URL=http://localhost:8080/plain.html
build-all:
description: |
Build all shells.
tasks:
- clean
- webpack
webpack:
adaptor: npm
env:
NODE_ENV: production
command: webpack
start:
description: |
Run the application in a regular Browser window with sample data + cypress
runMode: parallel
tasks:
- app-watch
- cypress-open
app-watch:
description: Run the extension in regular browser window
adaptor: npm
command: >
webpack-dev-server --inline
lc:
description: |
Open a fresh instance of Chrome - this is a convience for easier debugging.
adaptor: sh
command: >
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
--auto-open-devtools-for-tabs
http://localhost:3000/page.html
clean:
- '@sh rm -rf shells/chrome/dist/**'