fq-ui 1.0.0-dev
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fq-ui might be problematic. Click here for more details.
- package/LICENSE +21 -0
- package/README.md +34 -0
- package/build/translations.js +0 -0
- package/package.json +67 -0
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License Copyright (c) 2021
|
2
|
+
|
3
|
+
Permission is hereby granted, free
|
4
|
+
of charge, to any person obtaining a copy of this software and associated
|
5
|
+
documentation files (the "Software"), to deal in the Software without
|
6
|
+
restriction, including without limitation the rights to use, copy, modify, merge,
|
7
|
+
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to the
|
9
|
+
following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice
|
12
|
+
(including the next paragraph) shall be included in all copies or substantial
|
13
|
+
portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
16
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
18
|
+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
19
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# fq-ui
|
2
|
+
|
3
|
+
Seismic canvas common utils
|
4
|
+
|
5
|
+
## Features
|
6
|
+
|
7
|
+
- ES6 syntax, managed with Prettier + Eslint
|
8
|
+
- Typescript
|
9
|
+
- React 17
|
10
|
+
|
11
|
+
## Install
|
12
|
+
|
13
|
+
```sh
|
14
|
+
yarn add fq-ui
|
15
|
+
// or
|
16
|
+
npm i fq-ui
|
17
|
+
```
|
18
|
+
|
19
|
+
### Requirements
|
20
|
+
|
21
|
+
- React 17
|
22
|
+
- styled-components
|
23
|
+
|
24
|
+
### Usage
|
25
|
+
|
26
|
+
```js
|
27
|
+
import React from 'react';
|
28
|
+
import ReactDOM from 'react-dom';
|
29
|
+
import App from './App';
|
30
|
+
import { Theme } from 'fq-ui';
|
31
|
+
|
32
|
+
Theme.applyDefaultTheme();
|
33
|
+
ReactDOM.render(<App />, document.getElementById('root'));
|
34
|
+
```
|
File without changes
|
package/package.json
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
{
|
2
|
+
"name": "fq-ui",
|
3
|
+
"version": "1.0.0-dev",
|
4
|
+
"private": false,
|
5
|
+
"description": "FQ ui react lib",
|
6
|
+
"license": "MIT",
|
7
|
+
"author": "hfqui",
|
8
|
+
"main": "src/index.js",
|
9
|
+
"files": [
|
10
|
+
"src",
|
11
|
+
"build"
|
12
|
+
],
|
13
|
+
"keywords": [
|
14
|
+
"Seismic canvas common utils",
|
15
|
+
"fq-ui"
|
16
|
+
],
|
17
|
+
"readme": "./README.md",
|
18
|
+
"scripts": {
|
19
|
+
"build": "rollup --mode=production --out build/bundle.min.js",
|
20
|
+
"prebuild": "node build/translations.js 5a7ad78be355c90986cf46c1ecba772ddd9a9f8e",
|
21
|
+
"preinstall": "node build/translations.js 5a7ad78be355c90986cf46c1ecba772ddd9a9f8e",
|
22
|
+
"ci": "npm ci && npm run build",
|
23
|
+
"clean": "rm -rf node_modules ; exit 0",
|
24
|
+
"start": "rollup --watch",
|
25
|
+
"test": "npm run test:unit && npm run test:functional",
|
26
|
+
"test:unit": "jest unit --coverage",
|
27
|
+
"test:unit:update_jest_snapshots": "jest unit -u",
|
28
|
+
"test:unit:watch": "jest unit --watch",
|
29
|
+
"test:functional": "jest functional --coverage=true",
|
30
|
+
"test:functional:watch": "jest functional --singleRun=false"
|
31
|
+
},
|
32
|
+
"repository": {
|
33
|
+
"type": "git",
|
34
|
+
"url": "https://gitlab.com/hfqui/fq-ui"
|
35
|
+
},
|
36
|
+
"engines": {
|
37
|
+
"node": ">=8.6.0 <=20.19.0"
|
38
|
+
},
|
39
|
+
"module": "src/index.js",
|
40
|
+
"dependencies": {
|
41
|
+
"react": "17.0.2",
|
42
|
+
"react-dom": "17.0.2",
|
43
|
+
"styled-components": "^5.1.1"
|
44
|
+
},
|
45
|
+
"devDependencies": {
|
46
|
+
"chai": "4.2.0",
|
47
|
+
"enzyme": "3.2.0",
|
48
|
+
"eslint-config-prettier": "6.0.0",
|
49
|
+
"eslint-plugin-flowtype": "3.11.1",
|
50
|
+
"eslint-plugin-prettier": "3.1.0",
|
51
|
+
"husky": "3.0.0",
|
52
|
+
"jest": "23.4.2",
|
53
|
+
"prettier": "2.2.1",
|
54
|
+
"pretty-quick": "3.1.0",
|
55
|
+
"rollup": "3.21.7",
|
56
|
+
"sinon": "7.5.0",
|
57
|
+
"sinon-chai": "3.3.0"
|
58
|
+
},
|
59
|
+
"husky": {
|
60
|
+
"hooks": {
|
61
|
+
"pre-commit": "pretty-quick --staged"
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"publishConfig": {
|
65
|
+
"access": "public"
|
66
|
+
}
|
67
|
+
}
|