ootk 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -33
- package/LICENSE.MD +21 -21
- package/README.md +128 -128
- package/asc/asconfig.json +22 -0
- package/asc/assembly/index.ts +1143 -0
- package/asc/ex/asconfig.json +22 -0
- package/asc/ex/assembly/index.ts +5 -0
- package/asc/ex/index.html +10 -0
- package/asc/ex/package.json +19 -0
- package/asc/ex/tests/index.js +4 -0
- package/asc/package.json +19 -0
- package/asc/tests/index.js +4 -0
- package/dist/ootk.js +1 -3850
- package/lib/ootk.d.ts +3 -4
- package/lib/ootk.js +3 -4
- package/lib/ootk.js.map +1 -1
- package/lib/{ootk-sgp4.d.ts → sgp4.d.ts} +6 -140
- package/lib/{ootk-sgp4.js → sgp4.js} +545 -555
- package/lib/sgp4.js.map +1 -0
- package/lib/transforms.d.ts +58 -0
- package/lib/{ootk-transforms.js → transforms.js} +3 -4
- package/lib/transforms.js.map +1 -0
- package/lib/{ootk-utils.d.ts → utils/constants.d.ts} +6 -11
- package/lib/utils/constants.js +31 -0
- package/lib/utils/constants.js.map +1 -0
- package/lib/utils/types.d.ts +164 -0
- package/lib/utils/types.js +2 -0
- package/lib/utils/types.js.map +1 -0
- package/lib/utils.d.ts +33 -0
- package/lib/{ootk-utils.js → utils.js} +12 -6
- package/lib/utils.js.map +1 -0
- package/package.json +15 -16
- package/sandbox.html +8 -0
- package/dist/ootk-sgp4.js +0 -3471
- package/dist/ootk-sgp4.min.js +0 -34
- package/dist/ootk-transforms.js +0 -340
- package/dist/ootk-transforms.min.js +0 -1
- package/dist/ootk-utils.js +0 -149
- package/dist/ootk-utils.min.js +0 -1
- package/dist/ootk.min.js +0 -60
- package/lib/ootk-sgp4.js.map +0 -1
- package/lib/ootk-transforms.d.ts +0 -141
- package/lib/ootk-transforms.js.map +0 -1
- package/lib/ootk-utils.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,59 +4,45 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [v1.0.
|
|
7
|
+
#### [v1.0.5](https://github.com/thkruz/ootk/compare/v1.0.4...v1.0.5)
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
9
|
+
- build(umd.js): renamed es modules to be .es.js files [`#17`](https://github.com/thkruz/ootk/pull/17)
|
|
10
|
+
- Rebase [`#16`](https://github.com/thkruz/ootk/pull/16)
|
|
11
|
+
- Multithread [`#15`](https://github.com/thkruz/ootk/pull/15)
|
|
12
|
+
- 1.0.4 [`#14`](https://github.com/thkruz/ootk/pull/14)
|
|
13
|
+
- refactor: :recycle: consolidate constants and types [`69032ad`](https://github.com/thkruz/ootk/commit/69032adcde7c013b069dc4d58bdb2c88af45d4b5)
|
|
14
|
+
- fix(ootk-sgp4): moved variables to local scope for speed vs reduced garbage collection [`5f41d12`](https://github.com/thkruz/ootk/commit/5f41d125c19d217e28a4278041549e5a6d51368b)
|
|
15
|
+
- refactor: :recycle: code cleanup [`6d9cc64`](https://github.com/thkruz/ootk/commit/6d9cc649d5c3e4787fdf8e61ccc7192a79ca5d9e)
|
|
12
16
|
|
|
13
|
-
#### [v1.0.
|
|
17
|
+
#### [v1.0.4](https://github.com/thkruz/ootk/compare/v1.0.0...v1.0.4)
|
|
14
18
|
|
|
15
19
|
> 13 January 2021
|
|
16
20
|
|
|
21
|
+
- build(tsconfig.json): enabled sourceMap [`#13`](https://github.com/thkruz/ootk/pull/13)
|
|
22
|
+
- Develop [`#12`](https://github.com/thkruz/ootk/pull/12)
|
|
23
|
+
- Develop [`#11`](https://github.com/thkruz/ootk/pull/11)
|
|
24
|
+
- Develop [`#10`](https://github.com/thkruz/ootk/pull/10)
|
|
25
|
+
- Update issue templates [`039baa7`](https://github.com/thkruz/ootk/commit/039baa7f361869691343dd9522102e596c2ef2b4)
|
|
26
|
+
- ci(ootk): renamed all .es.js files to .js [`d20e7a9`](https://github.com/thkruz/ootk/commit/d20e7a96bd962df2c14dbba499b8c32ee703a036)
|
|
17
27
|
- build(umd.js): changed globalObject to this instead of self for Node [`6f79359`](https://github.com/thkruz/ootk/commit/6f793590de90b7e9b32ff2bb0b2aa52a244623c1)
|
|
18
|
-
- docs(readme): fixed grammar in readme file [`cd819e8`](https://github.com/thkruz/ootk/commit/cd819e853698af689a11896b9413835847ac41fe)
|
|
19
|
-
|
|
20
|
-
#### [v1.0.2](https://github.com/thkruz/ootk/compare/v1.0.1...v1.0.2)
|
|
21
|
-
|
|
22
|
-
> 13 January 2021
|
|
23
|
-
|
|
24
|
-
- build(package.json): fixed main entry to point to correct file [`62d83a4`](https://github.com/thkruz/ootk/commit/62d83a408df117589cf45b33e9d5db0a41b0cd65)
|
|
25
|
-
- docs(readme): fixed link to old library name [`5ba9f84`](https://github.com/thkruz/ootk/commit/5ba9f846a9c4128d235ab223cddf8f3abc442a9b)
|
|
26
|
-
|
|
27
|
-
#### [v1.0.1](https://github.com/thkruz/ootk/compare/v1.0.0...v1.0.1)
|
|
28
|
-
|
|
29
|
-
> 13 January 2021
|
|
30
|
-
|
|
31
|
-
- build(.npmignore): added npmignore to provide a cleaner package on npm [`8d3ebf2`](https://github.com/thkruz/ootk/commit/8d3ebf2b3d0955edf547e87eeca6b895988d1495)
|
|
32
28
|
|
|
33
|
-
#### [v1.0.0](https://github.com/thkruz/ootk/compare/v1.0.0-
|
|
34
|
-
|
|
35
|
-
> 13 January 2021
|
|
36
|
-
|
|
37
|
-
- docs(readme): added build size to the readme [`6b5a182`](https://github.com/thkruz/ootk/commit/6b5a1826be37c433444819ee465e11fd0ac0dc52)
|
|
38
|
-
|
|
39
|
-
#### [v1.0.0-alpha3](https://github.com/thkruz/ootk/compare/v1.0.0-alpha2...v1.0.0-alpha3)
|
|
29
|
+
#### [v1.0.0](https://github.com/thkruz/ootk/compare/v1.0.0-alpha1...v1.0.0)
|
|
40
30
|
|
|
41
31
|
> 13 January 2021
|
|
42
32
|
|
|
33
|
+
- docs(readme): added build size to the readme [`#5`](https://github.com/thkruz/ootk/pull/5)
|
|
34
|
+
- Develop [`#4`](https://github.com/thkruz/ootk/pull/4)
|
|
43
35
|
- Develop [`#3`](https://github.com/thkruz/ootk/pull/3)
|
|
44
36
|
- feat(ootk-transforms): add transforms from satellite.js [`#2`](https://github.com/thkruz/ootk/pull/2)
|
|
45
|
-
- Documentation [`#1`](https://github.com/thkruz/ootk/pull/1)
|
|
46
37
|
- feat(ootk-transforms): added Transforms and Utils modules [`122ed43`](https://github.com/thkruz/ootk/commit/122ed43146acdda835c345529c0b5ce7c315bf10)
|
|
47
38
|
- refactor(ootk-transforms): sorted functions by name [`98a8059`](https://github.com/thkruz/ootk/commit/98a8059a2fffe8e8d984b94ed6ae064753956060)
|
|
48
39
|
- docs(readme): updated readme notes [`31913d0`](https://github.com/thkruz/ootk/commit/31913d0be0c2a63f6ed5aa6f1aa7ddfc249add8c)
|
|
49
40
|
|
|
50
|
-
#### [v1.0.0-alpha2](https://github.com/thkruz/ootk/compare/v1.0.0-alpha1...v1.0.0-alpha2)
|
|
51
|
-
|
|
52
|
-
> 13 January 2021
|
|
53
|
-
|
|
54
|
-
- feat(ootk-transforms): add transforms from satellite.js [`7643f75`](https://github.com/thkruz/ootk/commit/7643f752d8bbc588bed47eadc02c7f46f25b9702)
|
|
55
|
-
|
|
56
41
|
#### v1.0.0-alpha1
|
|
57
42
|
|
|
58
43
|
> 13 January 2021
|
|
59
44
|
|
|
45
|
+
- Documentation [`#1`](https://github.com/thkruz/ootk/pull/1)
|
|
60
46
|
- ootk rename [`f194490`](https://github.com/thkruz/ootk/commit/f194490621dcbefba99554a84d654f8003e459d0)
|
|
61
47
|
- Initial Commit [`24f4627`](https://github.com/thkruz/ootk/commit/24f46276b9f5e92f0ddb9b9ce3af9c41ee3022db)
|
|
62
48
|
- Functional TypeScript [`02a4b84`](https://github.com/thkruz/ootk/commit/02a4b843726f4eaa0023927dfd0e3b26aada96cd)
|
package/LICENSE.MD
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Theodore Kruczek
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Theodore Kruczek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
# ootk
|
|
2
|
-
     [](LICENSE.
|
|
3
|
-
|
|
4
|
-
> An Orbital Object Tookit in Your Web Browser
|
|
5
|
-
|
|
6
|
-
**ootk** is a modular collection of small libraries for doing math related to orbital objects written in TypeScript. ootk was developed to simplify the math and let you focus on using the results.
|
|
7
|
-
|
|
8
|
-
## Table of Contents
|
|
9
|
-
- [Installation](#Installation)
|
|
10
|
-
- [Usage](#Usage)
|
|
11
|
-
- [Contributing](#Contributing)
|
|
12
|
-
- [Building](#Building)
|
|
13
|
-
- [Contributors](#Contributors)
|
|
14
|
-
- [License](#License)
|
|
15
|
-
|
|
16
|
-
## Installation
|
|
17
|
-
|
|
18
|
-
Install the library with [NPM](https://www.npmjs.com/):
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
npm i ootk
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
### Common.js ([Node.js](https://nodejs.org))
|
|
27
|
-
|
|
28
|
-
```js
|
|
29
|
-
let Ootk = require('ootk.js');
|
|
30
|
-
...
|
|
31
|
-
const satrec = Ootk.Sgp4.createSatrec(line1, line2, 'wgs72', 'i');
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### ES ([Babel.js](https://babeljs.io/))
|
|
35
|
-
|
|
36
|
-
```js
|
|
37
|
-
import * as Ootk from 'ootk.js';
|
|
38
|
-
...
|
|
39
|
-
const satrec = Ootk.Sgp4.createSatrec(line1, line2, 'wgs72', 'i');
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### Script tag
|
|
43
|
-
|
|
44
|
-
Include `dist/ootk.min.js` as a script in your html:
|
|
45
|
-
|
|
46
|
-
```html
|
|
47
|
-
<script src="path/to/dist/ootk.min.js"></script>
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
`Ootk` object will be available in global scope:
|
|
51
|
-
|
|
52
|
-
```js
|
|
53
|
-
var satrec = Ootk.Sgp4.createSatrec(line1, line2, 'wgs72', 'i');
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Building
|
|
57
|
-
|
|
58
|
-
The source code is organized as Common.js modules and uses [ES6 syntax](http://es6-features.org/). To build the library:
|
|
59
|
-
|
|
60
|
-
1. Install [Node.js](https://nodejs.org/) and [Node Package Manager](https://www.npmjs.com/);
|
|
61
|
-
|
|
62
|
-
2. Install all required packages with NPM by running the following command from repository's root directory:
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
npm install
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
3. Run the following NPM script to build everything:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
npm run build:umd
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## NPM Scripts
|
|
75
|
-
|
|
76
|
-
- `build` compiles TypeScript into ES6 Modules
|
|
77
|
-
- `build:umd` compiles TypeScript into ES6 Modules and generates UMD files
|
|
78
|
-
- `lint` lints source code located in `src` directory with [ESLint](http://eslint.org/)
|
|
79
|
-
- `lint:fix` lints tests located in `src` directory with ESLint and attempts to auto-fix errors
|
|
80
|
-
- `lint:test` lints tests located in `test` directory with ESLint
|
|
81
|
-
- `test` runs jest to verify code remains functional
|
|
82
|
-
- `test:coverage` generates lcov report to view code coverage
|
|
83
|
-
|
|
84
|
-
## Contributing
|
|
85
|
-
|
|
86
|
-
This repo follows [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow).
|
|
87
|
-
|
|
88
|
-
Before starting a work on new [pull request](https://github.com/thkruz/ootk/compare), please, checkout your feature or bugfix branch from `develop` branch:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
git checkout develop
|
|
92
|
-
git fetch origin
|
|
93
|
-
git merge origin/develop
|
|
94
|
-
git checkout -b my-feature
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Make sure that your changes don't break the existing code by running:
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
npm test
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Check that your code follows the rules established in eslint.rc:
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
npm run lint
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
Use [commitzen](https://github.com/commitizen/cz-cli) to format your commit messages:
|
|
110
|
-
|
|
111
|
-
```bash
|
|
112
|
-
git add .
|
|
113
|
-
git cz
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
## Contributors
|
|
117
|
-
|
|
118
|
-
This whole project is an example of standing on the shoulder's of giants. None of it would have been possible without the previous work of the following:
|
|
119
|
-
|
|
120
|
-
- [ezze (Dmitriy Pushkov)](https://github.com/ezze)
|
|
121
|
-
- [davidcalhoun (David Calhoun)](https://github.com/davidcalhoun)
|
|
122
|
-
- [shashwatak (Shashwat Kandadai)](https://github.com/shashwatak)
|
|
123
|
-
- [brandon-rhodes (Brandon Rhodes)](https://github.com/brandon-rhodes)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
## License
|
|
127
|
-
|
|
128
|
-
In keeping with the tradition of [Shashwat Kandadai's satellite.js](https://github.com/shashwatak/satellite-js/) and [Brandon Rhodes' sgp4](https://pypi.python.org/pypi/sgp4/), I kept this licensed under the [MIT License](LICENSE.md).
|
|
1
|
+
# ootk
|
|
2
|
+
[](https://github.com/thkruz/ootk/actions?query=workflow%3ACI)  [](https://www.npmjs.com/package/ootk) [](https://github.com/thkruz/ootk/issues) [](https://codecov.io/gh/thkruz/ootk) [](LICENSE.MD)
|
|
3
|
+
|
|
4
|
+
> An Orbital Object Tookit in Your Web Browser
|
|
5
|
+
|
|
6
|
+
**ootk** is a modular collection of small libraries for doing math related to orbital objects written in TypeScript. ootk was developed to simplify the math and let you focus on using the results.
|
|
7
|
+
|
|
8
|
+
## :blue_book: Table of Contents
|
|
9
|
+
- [Installation](#Installation)
|
|
10
|
+
- [Usage](#Usage)
|
|
11
|
+
- [Contributing](#Contributing)
|
|
12
|
+
- [Building](#Building)
|
|
13
|
+
- [Contributors](#Contributors)
|
|
14
|
+
- [License](#License)
|
|
15
|
+
|
|
16
|
+
## :wrench: Installation
|
|
17
|
+
|
|
18
|
+
Install the library with [NPM](https://www.npmjs.com/):
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm i ootk
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## :satellite: Usage
|
|
25
|
+
|
|
26
|
+
### Common.js ([Node.js](https://nodejs.org))
|
|
27
|
+
|
|
28
|
+
```js
|
|
29
|
+
let Ootk = require('dist/ootk.js');
|
|
30
|
+
...
|
|
31
|
+
const satrec = Ootk.Sgp4.createSatrec(line1, line2, 'wgs72', 'i');
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### ES ([Babel.js](https://babeljs.io/))
|
|
35
|
+
|
|
36
|
+
```js
|
|
37
|
+
import * as Ootk from 'lib/ootk.es.js';
|
|
38
|
+
...
|
|
39
|
+
const satrec = Ootk.Sgp4.createSatrec(line1, line2, 'wgs72', 'i');
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Script tag
|
|
43
|
+
|
|
44
|
+
Include `dist/ootk.min.js` as a script in your html:
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<script src="path/to/dist/ootk.min.js"></script>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
`Ootk` object will be available in global scope:
|
|
51
|
+
|
|
52
|
+
```js
|
|
53
|
+
var satrec = Ootk.Sgp4.createSatrec(line1, line2, 'wgs72', 'i');
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## :desktop_computer: Building
|
|
57
|
+
|
|
58
|
+
The source code is organized as Common.js modules and uses [ES6 syntax](http://es6-features.org/). To build the library:
|
|
59
|
+
|
|
60
|
+
1. Install [Node.js](https://nodejs.org/) and [Node Package Manager](https://www.npmjs.com/);
|
|
61
|
+
|
|
62
|
+
2. Install all required packages with NPM by running the following command from repository's root directory:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npm install
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
3. Run the following NPM script to build everything:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm run build:umd
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## :gem: NPM Scripts
|
|
75
|
+
|
|
76
|
+
- `build` compiles TypeScript into ES6 Modules
|
|
77
|
+
- `build:umd` compiles TypeScript into ES6 Modules and generates UMD files
|
|
78
|
+
- `lint` lints source code located in `src` directory with [ESLint](http://eslint.org/)
|
|
79
|
+
- `lint:fix` lints tests located in `src` directory with ESLint and attempts to auto-fix errors
|
|
80
|
+
- `lint:test` lints tests located in `test` directory with ESLint
|
|
81
|
+
- `test` runs jest to verify code remains functional
|
|
82
|
+
- `test:coverage` generates lcov report to view code coverage
|
|
83
|
+
|
|
84
|
+
## :man_teacher: Contributing
|
|
85
|
+
|
|
86
|
+
This repo follows [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow).
|
|
87
|
+
|
|
88
|
+
Before starting a work on new [pull request](https://github.com/thkruz/ootk/compare), please, checkout your feature or bugfix branch from `develop` branch:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
git checkout develop
|
|
92
|
+
git fetch origin
|
|
93
|
+
git merge origin/develop
|
|
94
|
+
git checkout -b my-feature
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Make sure that your changes don't break the existing code by running:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
npm test
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Check that your code follows the rules established in eslint.rc:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
npm run lint
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Use [commitzen](https://github.com/commitizen/cz-cli) to format your commit messages:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
git add .
|
|
113
|
+
git cz
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## :man_scientist: Contributors
|
|
117
|
+
|
|
118
|
+
This whole project is an example of standing on the shoulder's of giants. None of it would have been possible without the previous work of the following:
|
|
119
|
+
|
|
120
|
+
- [ezze (Dmitriy Pushkov)](https://github.com/ezze)
|
|
121
|
+
- [davidcalhoun (David Calhoun)](https://github.com/davidcalhoun)
|
|
122
|
+
- [shashwatak (Shashwat Kandadai)](https://github.com/shashwatak)
|
|
123
|
+
- [brandon-rhodes (Brandon Rhodes)](https://github.com/brandon-rhodes)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## :balance_scale: License
|
|
127
|
+
|
|
128
|
+
In keeping with the tradition of [Shashwat Kandadai's satellite.js](https://github.com/shashwatak/satellite-js/) and [Brandon Rhodes' sgp4](https://pypi.python.org/pypi/sgp4/), I kept this licensed under the [MIT License](LICENSE.md).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": {
|
|
3
|
+
"debug": {
|
|
4
|
+
"outFile": "build/propagate-debug.wasm",
|
|
5
|
+
"textFile": "build/propagate-debug.wat",
|
|
6
|
+
"sourceMap": true,
|
|
7
|
+
"debug": true
|
|
8
|
+
},
|
|
9
|
+
"release": {
|
|
10
|
+
"outFile": "build/propagate.wasm",
|
|
11
|
+
"textFile": "build/propagate.wat",
|
|
12
|
+
"sourceMap": true,
|
|
13
|
+
"optimizeLevel": 3,
|
|
14
|
+
"shrinkLevel": 0,
|
|
15
|
+
"converge": false,
|
|
16
|
+
"noAssert": false
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"options": {
|
|
20
|
+
"bindings": "esm"
|
|
21
|
+
}
|
|
22
|
+
}
|