-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3ae4d5
commit 73000e3
Showing
18 changed files
with
2,223 additions
and
2,993 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,11 @@ | ||
{ | ||
"parserOptions": { | ||
"ecmaVersion": 2018 | ||
}, | ||
"env": { | ||
"node": true, | ||
"es6": true, | ||
"jest": true | ||
}, | ||
"extends": "eslint:recommended" | ||
} |
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,3 +1,6 @@ | ||
node_modules | ||
.idea | ||
*.iml | ||
.nyc_output | ||
coverage | ||
lib | ||
node_modules | ||
|
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,36 +1,13 @@ | ||
sudo: false | ||
|
||
git: | ||
depth: 10 | ||
|
||
branches: | ||
only: | ||
- master | ||
- next | ||
|
||
language: node_js | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
|
||
matrix: | ||
include: | ||
- node_js: "12" | ||
env: JOB_PART=pretest | ||
- node_js: "6" | ||
env: JOB_PART=test | ||
- node_js: "8" | ||
env: JOB_PART=test | ||
- node_js: "10" | ||
env: JOB_PART=test | ||
- node_js: "12" | ||
env: JOB_PART=test | ||
node_js: | ||
- "10" | ||
- "12" | ||
- "14" | ||
|
||
before_script: | ||
- node --version | ||
- yarn --version | ||
script: yarn ci | ||
|
||
script: | ||
- yarn $JOB_PART | ||
after_success: | ||
- cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose | ||
- cat ./coverage/coverage.json | node_modules/codecov.io/bin/codecov.io.js | ||
- rm -rf ./coverage |
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,5 @@ | ||
module.exports = { | ||
hooks: { | ||
"pre-commit": "lint-staged", | ||
}, | ||
}; |
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,4 @@ | ||
module.exports = { | ||
"*.js": ["eslint --fix", "prettier --write"], | ||
"*.{json,md,yml,css,ts}": ["prettier --write"], | ||
}; |
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
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 |
---|---|---|
@@ -1,4 +1,11 @@ | ||
export { default as replaceValueSymbols } from "./replaceValueSymbols.js"; | ||
export { default as replaceSymbols } from "./replaceSymbols.js"; | ||
export { default as extractICSS } from "./extractICSS.js"; | ||
export { default as createICSSRules } from "./createICSSRules.js"; | ||
const replaceValueSymbols = require("./replaceValueSymbols.js"); | ||
const replaceSymbols = require("./replaceSymbols.js"); | ||
const extractICSS = require("./extractICSS.js"); | ||
const createICSSRules = require("./createICSSRules.js"); | ||
|
||
module.exports = { | ||
replaceValueSymbols, | ||
replaceSymbols, | ||
extractICSS, | ||
createICSSRules, | ||
}; |
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
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
Oops, something went wrong.