Skip to content

Commit

Permalink
fix(eslint): fix npm local module installation (#26)
Browse files Browse the repository at this point in the history
* fix(eslint): fix npm local module installation

* chore: exclude tests from tarball
  • Loading branch information
Dmitry Naumov authored and MarsiBarsi committed Nov 25, 2019
1 parent bd28b4c commit c983724
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
!prettier/**/*
!stylelint/**/*
!tslint/**/*
**/tests/*
.DS_Store
3 changes: 0 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"test": "watch \"npm run test:ci\"",
"pretest:ci": "node -r ts-node/register $NODE_DEBUG_OPTION node_modules/.bin/tslint --test ./test/rules/**/tslint.json",
"test:ci": "jest --ci --config=\"./jest.config.ci.json\"",
"preversion": "npm run build:prod"
"preversion": "npm run build:prod",
"postinstall": "npm i --no-save ./eslint/rules"
},
"author": {
"name": "Tinkoff Team",
Expand All @@ -31,7 +32,6 @@
"url": "https://github.com/TinkoffCreditSystems/linters.git"
},
"dependencies": {
"@tinkoff/eslint-plugin": "file:eslint/rules",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.7.0",
"@typescript-eslint/experimental-utils": "^2.8.0",
Expand Down

0 comments on commit c983724

Please sign in to comment.