Skip to content

Commit

Permalink
ci: Remove build artefacts after test:size and update CONTRIB docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Oct 17, 2017
1 parent 01a180f commit 98bda52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ $ npm run test:karma:integration

Then visit: http://localhost:9876/debug.html

Keep in mind that in order for in-browser tests to work correctly, they need to be bundled first:

```bash
$ grunt build.test
```

If you want to make sure that your changes will fit in our 10kB budget:

```bash
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"lint": "eslint .",
"precommit": "lint-staged",
"publish": "npm run test && grunt publish",
"test": "npm run lint && npm run test:size && grunt build.test && npm run test:unit && npm run test:integration && npm run test:typescript",
"test": "npm run lint && grunt build.test && npm run test:unit && npm run test:integration && npm run test:typescript",
"test:karma:unit": "karma start karma.unit.config.js",
"test:karma:integration": "karma start karma.integration.config.js ",
"test:karma:sauce": "karma start karma.sauce.config.js ",
"test:unit": "npm run test:karma:unit -- --single-run",
"test:integration": "npm run test:karma:integration -- --single-run",
"test:typescript": "tsc --noEmit --noImplicitAny typescript/raven-tests.ts",
"test:ci": "npm run lint && grunt test:ci && npm run test:karma:sauce",
"test:size": "grunt dist && bundlesize"
"test:size": "grunt dist && bundlesize && git checkout -- dist/"
},
"devDependencies": {
"bluebird": "^3.4.1",
Expand Down

0 comments on commit 98bda52

Please sign in to comment.