Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit ce5a509

Browse files
authored
add prettier to package json and update license (#179)
* Updated license and added prettier to package.json * Updated file with prettier formatting
1 parent 309a0ce commit ce5a509

File tree

4 files changed

+79
-22
lines changed

4 files changed

+79
-22
lines changed

ThirdPartyNotices.txt

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5771,6 +5771,64 @@ Copyright 2018 Kenneth Reitz
57715771
limitations under the License.
57725772

57735773

5774+
Jest
5775+
MIT License
5776+
5777+
Copyright (c) Facebook, Inc. and its affiliates.
5778+
5779+
Permission is hereby granted, free of charge, to any person obtaining a copy
5780+
of this software and associated documentation files (the "Software"), to deal
5781+
in the Software without restriction, including without limitation the rights
5782+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5783+
copies of the Software, and to permit persons to whom the Software is
5784+
furnished to do so, subject to the following conditions:
5785+
5786+
The above copyright notice and this permission notice shall be included in all
5787+
copies or substantial portions of the Software.
5788+
5789+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5790+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5791+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5792+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5793+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5794+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5795+
SOFTWARE.
5796+
5797+
5798+
Black
5799+
The MIT License (MIT)
5800+
5801+
Copyright (c) 2018 Łukasz Langa
5802+
5803+
Permission is hereby granted, free of charge, to any person obtaining a copy
5804+
of this software and associated documentation files (the "Software"), to deal
5805+
in the Software without restriction, including without limitation the rights
5806+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5807+
copies of the Software, and to permit persons to whom the Software is
5808+
furnished to do so, subject to the following conditions:
5809+
5810+
The above copyright notice and this permission notice shall be included in all
5811+
copies or substantial portions of the Software.
5812+
5813+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5814+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5815+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5816+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5817+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5818+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5819+
SOFTWARE.
5820+
5821+
5822+
Prettier
5823+
Copyright © James Long and contributors
5824+
5825+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5826+
5827+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5828+
5829+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5830+
5831+
57745832
-------------------------------------------------------------------
57755833

57765834
-------------------------------------------------------------------

package-lock.json

Lines changed: 6 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
"less-loader": "^4.1.0",
310310
"mocha": "^6.1.4",
311311
"npm-run-all": "^4.1.3",
312+
"prettier": "^1.19.1",
312313
"react-scripts": "3.0.1",
313314
"style-loader": "^0.21.0",
314315
"ts-import-plugin": "^1.5.4",

src/view/App.test.tsx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
import * as React from 'react'
2-
import * as ReactDOM from 'react-dom'
3-
import { IntlProvider } from 'react-intl';
4-
import App from './App';
1+
import * as React from "react";
2+
import * as ReactDOM from "react-dom";
3+
import { IntlProvider } from "react-intl";
4+
import App from "./App";
55

6-
7-
it('renders without crashing', () => {
8-
const div = document.createElement('div');
9-
ReactDOM.render(<IntlProvider locale="en"><App/></IntlProvider>, div);
10-
ReactDOM.unmountComponentAtNode(div);
11-
});
6+
it("renders without crashing", () => {
7+
const div = document.createElement("div");
8+
ReactDOM.render(
9+
<IntlProvider locale="en">
10+
<App />
11+
</IntlProvider>,
12+
div
13+
);
14+
ReactDOM.unmountComponentAtNode(div);
15+
});

0 commit comments

Comments
 (0)