Clean up some general files around the repo

This commit is contained in:
Rehan Dalal 2018-07-04 05:17:17 -04:00
Родитель aaaba6be5f
Коммит 43eb863823
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 410D198EEF339E0B
5 изменённых файлов: 12 добавлений и 44 удалений

Просмотреть файл

Просмотреть файл

@ -3,10 +3,16 @@
[![CircleCI](https://img.shields.io/circleci/project/github/mozilla/delivery-console.svg)](https://circleci.com/gh/mozilla/delivery-console) [![CircleCI](https://img.shields.io/circleci/project/github/mozilla/delivery-console.svg)](https://circleci.com/gh/mozilla/delivery-console)
[![Read the Docs](https://img.shields.io/readthedocs/delivery-console.svg)](http://delivery-console.readthedocs.io/en/latest/?badge=latest) [![Read the Docs](https://img.shields.io/readthedocs/delivery-console.svg)](http://delivery-console.readthedocs.io/en/latest/?badge=latest)
One admin to rule them all One admin to rule them all.
[Documentation on ReadTheDocs](https://delivery-console.readthedocs.io/) ## Documentation
# Contributing Full documentation for this project is available at [ReadTheDocs](https://delivery-console.readthedocs.io/).
Please check the [contribution guidelines](CONTRIBUTING.md). ## License
Delivery Console is licensed under the MPLv2. See the [LICENSE](LICENSE) file for details.
## Contributing
Please check [CONTRIBUTING.md](CONTRIBUTING.md) for more information on contributing to this project.

Просмотреть файл

Просмотреть файл

@ -1,35 +0,0 @@
#!/usr/bin/env bash
set -eo pipefail
prelude() {
echo "
You have prettier-eslint linting errors!
----------------------------------
The following files would turn out different if you process them with prettier-eslint.
"
}
any=false
first=true
while read line
do
$first && prelude
echo "To fix:"
echo " prettier-eslint --write ${line}"
echo "To see:"
echo " prettier-eslint ${line} | diff ${line} -"
echo ""
# echo "$line"
any=true
first=false
done < "${1:-/dev/stdin}"
$any && echo "
If you're not interested in how they're different, consider running:
yarn run lint:prettier-eslintfix
"
$any && exit 1 || exit 0

Просмотреть файл

@ -1,5 +1,5 @@
{ {
"name": "dev-console", "name": "delivery-console",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"homepage": "/", "homepage": "/",
@ -27,10 +27,7 @@
}, },
"scripts": { "scripts": {
"start": "react-app-rewired start", "start": "react-app-rewired start",
"start:normandy": "react-app-rewired start --app=normandy",
"build": "react-app-rewired build", "build": "react-app-rewired build",
"build-stage": "REACT_APP_SENTRY_PUBLIC_DSN='https://7f037ccfad184848848bd5077d9ecf07@sentry.prod.mozaws.net/362' build",
"build-prod": "REACT_APP_SENTRY_PUBLIC_DSN='https://4dac38d672e842a88233e9293caf2d09@sentry.prod.mozaws.net/363' build",
"test": "CI=true yarn run test:jest", "test": "CI=true yarn run test:jest",
"test:jest": "react-app-rewired test --env=jsdom", "test:jest": "react-app-rewired test --env=jsdom",
"eject": "react-scripts eject", "eject": "react-scripts eject",
@ -58,7 +55,7 @@
}, },
"jest": { "jest": {
"moduleNameMapper": { "moduleNameMapper": {
".*\\.less$": "<rootDir>/StubModule.js", ".*\\.less$": "<rootDir>/etc/StubModule.js",
"^console/(.*)$": "<rootDir>/src/$1" "^console/(.*)$": "<rootDir>/src/$1"
} }
} }