File tree Expand file tree Collapse file tree 4 files changed +2696
-6
lines changed Expand file tree Collapse file tree 4 files changed +2696
-6
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ script:
14
14
# setup links for integration testing
15
15
- npm link
16
16
# FIXME - integration test fails first time, due to timing issue - S3 bucket does not exist after initial create stack completes.
17
- - npm run integ || npm run integ || npm run integ
17
+ - npm run test:integration || npm run test:integration || npm run test:integration
Original file line number Diff line number Diff line change @@ -158,9 +158,11 @@ git clone https://github.com/temyers/serverless-localstack
158
158
##### Setup your project
159
159
160
160
```
161
+ cd /path/to/serverless-localstack
162
+ npm link
163
+
161
164
cd myproject
162
- mkdir .serverless_plugins
163
- ln -s /absolute/path/to/serverless-localstack .serverless_plugins/serverless-localstack
165
+ npm link serverless-localstack
164
166
```
165
167
166
168
### Optional Debug Flag
@@ -172,3 +174,13 @@ custom:
172
174
localstack:
173
175
debug: true
174
176
```
177
+
178
+ ## Publishing to NPM
179
+
180
+ ```
181
+ yarn install
182
+ yarn version
183
+ npm login
184
+ npm publish
185
+
186
+ ```
Original file line number Diff line number Diff line change 8
8
"lint-fix" : " eslint . --fix" ,
9
9
"test" : " jasmine --config=spec/support/jasmine.json" ,
10
10
"test:watch" : " jasmine --config=spec/support/jasmine.json" ,
11
- "integ" : " jasmine --config=spec/support/jasmine_integration.json" ,
12
- "integ:watch" : " nodemon -L -i spec/integrate ./node_modules/.bin/jasmine --config=spec/support/jasmine_integration.json" ,
13
- "test:cover" : " jasmine --coverage"
11
+ "test:integration" : " jasmine --config=spec/support/jasmine_integration.json" ,
12
+ "test:integration:watch" : " nodemon -L -i spec/integrate ./node_modules/.bin/jasmine --config=spec/support/jasmine_integration.json" ,
13
+ "test:cover" : " jasmine --coverage" ,
14
+ "prepublish" : " yarn run test" ,
15
+ "preversion" : " yarn run test"
14
16
},
15
17
"repository" : {
16
18
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments