-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from edx/djoy/boilerplate
Cookie cutter boilerplate.
- Loading branch information
Showing
64 changed files
with
25,254 additions
and
1 deletion.
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,26 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"targets": { | ||
"browsers": ["last 2 versions", "ie 11"] | ||
} | ||
} | ||
], | ||
"babel-preset-react" | ||
], | ||
"plugins": [ | ||
"transform-object-rest-spread", | ||
"transform-class-properties" | ||
], | ||
"env": { | ||
"i18n": { | ||
"plugins": [ | ||
["react-intl", { | ||
"messagesDir": "./temp" | ||
}] | ||
] | ||
} | ||
} | ||
} |
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,10 @@ | ||
node_modules | ||
npm-debug.log | ||
README.md | ||
LICENSE | ||
.babelrc | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.npmignore | ||
commitlint.config.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
coverage/* | ||
dist/ | ||
node_modules/ | ||
__mocks__/ |
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,34 @@ | ||
{ | ||
"extends": "eslint-config-edx", | ||
"parser": "babel-eslint", | ||
"rules": { | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": [ | ||
"webpack/*.js", | ||
"**/*.test.jsx", | ||
"**/*.test.js" | ||
] | ||
} | ||
], | ||
// https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/340#issuecomment-338424908 | ||
"jsx-a11y/anchor-is-valid": [ "error", { | ||
"components": [ "Link" ], | ||
"specialLink": [ "to" ] | ||
}], | ||
"jsx-a11y/label-has-for": [ 2, { | ||
"components": [ "label" ], | ||
"required": { | ||
"some": [ "nesting", "id" ] | ||
}, | ||
"allowChildren": false | ||
}] | ||
}, | ||
"env": { | ||
"jest": true | ||
}, | ||
"globals": { | ||
"newrelic": 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,16 @@ | ||
.DS_Store | ||
.eslintcache | ||
.idea | ||
node_modules | ||
npm-debug.log | ||
coverage | ||
|
||
dist/ | ||
|
||
### pyenv ### | ||
.python-version | ||
|
||
### Emacs ### | ||
*~ | ||
/temp | ||
/.vscode |
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 @@ | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.travis.yml | ||
docker-compose.yml | ||
Dockerfile | ||
Makefile | ||
npm-debug.log | ||
|
||
webpack | ||
coverage | ||
node_modules | ||
public |
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,21 @@ | ||
language: node_js | ||
node_js: | ||
- lts/* | ||
cache: | ||
directories: | ||
- "~/.npm" | ||
before_install: | ||
- npm install -g npm@latest | ||
- npm install -g greenkeeper-lockfile@1.14.0 | ||
install: | ||
- npm ci | ||
before_script: greenkeeper-lockfile-update | ||
after_script: greenkeeper-lockfile-upload | ||
script: | ||
- make validate-no-uncommitted-package-lock-changes | ||
- npm run lint | ||
- npm run test | ||
- npm run build | ||
after_success: | ||
- npm run coveralls | ||
- codecov |
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,8 @@ | ||
[main] | ||
host = https://www.transifex.com | ||
|
||
[edx-platform.frontend-app-account] | ||
file_filter = src/i18n/messages/<lang>.json | ||
source_file = src/i18n/transifex_input.json | ||
source_lang = en | ||
type = KEYVALUEJSON |
Oops, something went wrong.