mirror of
https://github.com/elyby/eslint-plugin.git
synced 2024-12-21 20:49:46 +05:30
Add travis config and prepare package to be published on npm
This commit is contained in:
parent
4f58034415
commit
0752d52be4
9
.npmignore
Normal file
9
.npmignore
Normal file
@ -0,0 +1,9 @@
|
||||
src
|
||||
tests
|
||||
.eslintrc.js
|
||||
.gitignore
|
||||
.travis.yml
|
||||
babel.config.js
|
||||
jest.config.js
|
||||
tsconfig.json
|
||||
yarn.lock
|
21
.travis.yml
Normal file
21
.travis.yml
Normal file
@ -0,0 +1,21 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "11"
|
||||
|
||||
cache:
|
||||
yarn: true
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
script:
|
||||
- yarn tsc
|
||||
- yarn test
|
||||
- yarn build
|
||||
|
||||
deploy:
|
||||
- provider: npm
|
||||
skip_cleanup: true
|
||||
email: $NPM_USER_EMAIL
|
||||
api_key: $NPM_API_KEY
|
||||
on:
|
||||
tags: true
|
@ -17,6 +17,9 @@
|
||||
"elyby"
|
||||
],
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "babel src -d lib --extensions .ts,.js",
|
||||
"test": "jest"
|
||||
|
Loading…
Reference in New Issue
Block a user