forked from moroshko/react-autosuggest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build and test pipelines (moroshko#729)
* update build and test pipelines * fix jsdom version for tests * move deps to devDependencies * update nyc * update lint-staged and husky * update sinon * update lint-staged file pattern * update prettier * update easy dependencies
- Loading branch information
Showing
30 changed files
with
10,452 additions
and
6,312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
{ | ||
"presets": ["@babel/env", "@babel/preset-react"], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties" | ||
], | ||
"env": { | ||
"development": { | ||
"presets": ["es2015", "stage-0", "react"] | ||
}, | ||
"production": { | ||
"presets": ["es2015", "stage-0", "react"], | ||
"plugins": [ | ||
[ | ||
"transform-react-remove-prop-types", { | ||
"babel-plugin-transform-react-remove-prop-types", { | ||
"mode": "wrap" | ||
} | ||
] | ||
] | ||
}, | ||
"test": { | ||
"plugins": [ | ||
"istanbul", | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ demo/dist | |
npm-debug.log | ||
yarn.lock | ||
*.log | ||
.DS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require: '@babel/register' | ||
file: | ||
- ./test/setup.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
.container { | ||
display: flex; | ||
|
2 changes: 1 addition & 1 deletion
2
demo/src/components/App/components/Examples/components/Basic/Basic.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
.container { | ||
display: flex; | ||
|
2 changes: 1 addition & 1 deletion
2
demo/src/components/App/components/Examples/components/CustomRender/CustomRender.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
.container { | ||
display: flex; | ||
|
2 changes: 1 addition & 1 deletion
2
.../src/components/App/components/Examples/components/MultipleSections/MultipleSections.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
.container { | ||
display: flex; | ||
|
2 changes: 1 addition & 1 deletion
2
...omponents/App/components/Examples/components/ScrollableContainer/ScrollableContainer.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
.container { | ||
display: flex; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
@vertical: ~"(max-width: 859px)"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
.container { | ||
display: flex; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '~variables'; | ||
@import 'variables'; | ||
|
||
.container { | ||
position: relative; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const babelConfig = require('@istanbuljs/nyc-config-babel'); | ||
|
||
module.exports = { | ||
...babelConfig, | ||
statements: 95, | ||
branches: 91, | ||
functions: 100, | ||
lines: 95, | ||
include: ['src/*.js'], | ||
exclude: ['test/**/*.js'], | ||
reporter: ['lcov', 'text-summary'], | ||
all: true, | ||
'check-coverage': true | ||
}; |
Oops, something went wrong.