Skip to content

Commit 1337b1f

Browse files
committed
Get test scripts in
1 parent 5be2f41 commit 1337b1f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"test:coverage": "jest --coverage",
1616
"lint": "tslint 'src/**/*.ts'",
1717
"release": "cd build && npm publish",
18+
"test:project": "cd test/project && yarn sls openapi generate",
19+
"test:prepare": "scripts/prepareTests.bash",
1820
"build:link": "yarn build && cd build && yarn link",
1921
"build:watch": "yarn build && tsc --watch",
2022
"build": "scripts/build.bash"

scripts/prepareTests.bash

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
4+
yarn build:link \
5+
&& cd test/project \
6+
&& yarn \
7+
&& yarn link serverless-openapi-documentation

0 commit comments

Comments
 (0)