Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

Commit 7b7ab15

Browse files
committed
Script dist -> republish; 'Contributing' section in README
1 parent 85f40d5 commit 7b7ab15

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
language: node_js
22
node_js:
33
- "6"
4-
script: npm run dist
4+
script: npm run prepublish

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,18 @@ module.exports = require('./counter-ts.ts').default
8989
* Code coverage of `*.vue` files fails as the generated code contains a `with` statement that trips the babylon parser: use `coveragePathIgnorePatterns` as shown above to ignore the `*.vue` files
9090
* This package does not declare any dependencies: install the preferred versions of TypeScript, Jest, Vue.js, and vueify. Cf. [`package.json`](package.json) for the versions used during development.
9191

92+
## Contributing
93+
Contributions including bug reports, tests, and documentation are more than welcome. To get started with development:
94+
``` bash
95+
# once: install dependencies
96+
npm install
97+
98+
# run unit tests in watch mode
99+
npm test -- --watch
100+
101+
# lint & test
102+
npm run prepublish
103+
```
104+
92105
## License
93106
[MIT](http://opensource.org/licenses/MIT)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"scripts": {
2222
"test": "eslint preprocessor.js && jest",
23-
"dist": "eslint preprocessor.js && jest --coverage"
23+
"prepublish": "eslint preprocessor.js && jest --no-cache --coverage"
2424
},
2525
"jest": {
2626
"scriptPreprocessor": "<rootDir>/preprocessor.js",

0 commit comments

Comments
 (0)