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/package.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ootk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Orbital Object Toolkit including SGP4 Propagator and Coordinate Transforms",
|
|
5
5
|
"main": "dist/ootk.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "node ./scripts/cleanup.js && tsc",
|
|
8
|
-
"build:
|
|
7
|
+
"build": "node ./scripts/cleanup.js && tsc -p tsconfig.json && node --openssl-legacy-provider node_modules/webpack/bin/webpack.js --config ./scripts/webpack.js",
|
|
8
|
+
"build:legacy": "node ./scripts/cleanup.js && tsc && node node_modules/webpack/bin/webpack.js --config ./scripts/webpack.js",
|
|
9
|
+
"asbuild:debug": "asc asc/assembly/index.ts --target debug",
|
|
10
|
+
"asbuild:release": "asc asc/assembly/index.ts --target release",
|
|
11
|
+
"asbuild": "npm run asbuild:debug && npm run asbuild:release",
|
|
9
12
|
"lint": "eslint src",
|
|
10
13
|
"lint:fix": "eslint src --fix",
|
|
11
14
|
"lint:test": "eslint test",
|
|
15
|
+
"sandbox": "http-server ./",
|
|
12
16
|
"test": "jest -c scripts/jest-std.json",
|
|
13
17
|
"test:coverage": "jest --coverage -c scripts/jest-std.json",
|
|
14
18
|
"test:performance": "node test/performance/timing.test.mjs",
|
|
@@ -31,7 +35,7 @@
|
|
|
31
35
|
"url": "https://github.com/thkruz/ootk/issues"
|
|
32
36
|
},
|
|
33
37
|
"prettier": {
|
|
34
|
-
"printWidth":
|
|
38
|
+
"printWidth": 120,
|
|
35
39
|
"tabWidth": 2,
|
|
36
40
|
"useTabs": false,
|
|
37
41
|
"semi": true,
|
|
@@ -51,32 +55,27 @@
|
|
|
51
55
|
"@babel/core": "^7.11.6",
|
|
52
56
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
53
57
|
"@babel/preset-env": "^7.11.5",
|
|
58
|
+
"@types/jest": "^28.1.5",
|
|
59
|
+
"@types/node-fetch": "^2.6.2",
|
|
54
60
|
"@typescript-eslint/eslint-plugin": "^4.13.0",
|
|
55
61
|
"@typescript-eslint/parser": "^4.13.0",
|
|
62
|
+
"assemblyscript": "^0.20.13",
|
|
56
63
|
"auto-changelog": "^2.2.1",
|
|
57
64
|
"babel-eslint": "^10.1.0",
|
|
58
65
|
"babel-loader": "^8.2.2",
|
|
59
66
|
"codecov": "^3.8.1",
|
|
60
|
-
"commitizen": "^4.2.2",
|
|
61
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
62
67
|
"eslint": "^7.9.0",
|
|
63
|
-
"html-loader": "^1.3.2",
|
|
64
68
|
"jest": "^26.4.2",
|
|
65
|
-
"
|
|
66
|
-
"threads-plugin": "^1.4.0",
|
|
69
|
+
"node-fetch": "^2.6.7",
|
|
67
70
|
"typescript": "^4.1.3",
|
|
68
|
-
"typescript-eslint": "^0.0.1-alpha.0",
|
|
69
71
|
"webpack": "^5.11.1",
|
|
70
72
|
"webpack-cli": "^4.3.1"
|
|
71
73
|
},
|
|
72
74
|
"homepage": "https://github.com/thkruz/ootk",
|
|
73
75
|
"directories": {
|
|
74
76
|
"lib": "lib",
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"commitizen": {
|
|
79
|
-
"path": "./node_modules/cz-conventional-changelog"
|
|
80
|
-
}
|
|
77
|
+
"src": "src",
|
|
78
|
+
"test": "test",
|
|
79
|
+
"wasm": "asc/build"
|
|
81
80
|
}
|
|
82
81
|
}
|