@copasi/copasijs 0.0.0-stage → 0.0.7

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/copasijs.wasm ADDED
Binary file
package/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ export { default as COPASI } from "./copasi.js";
2
+ export type * from "./copasi.js";
3
+
4
+ export interface CpsModuleConfig {
5
+ locateFile?: (path: string, prefix?: string) => string;
6
+ }
7
+
8
+ export function createCpsModule(moduleArg?: CpsModuleConfig): Promise<any>;
9
+ export default createCpsModule;
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export { default } from "./copasijs.js";
2
+ export { default as createCpsModule } from "./copasijs.js";
3
+ export { default as COPASI } from "./copasi.js";
package/package.json CHANGED
@@ -1,6 +1,36 @@
1
1
  {
2
2
  "name": "@copasi/copasijs",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.7",
4
+ "description": "Browser build of COPASI.js for bundlers",
5
+ "type": "module",
6
+ "main": "./index.js",
7
+ "types": "./index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./index.d.ts",
11
+ "import": "./index.js",
12
+ "default": "./index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "index.js",
17
+ "index.d.ts",
18
+ "copasijs.js",
19
+ "copasijs.wasm",
20
+ "copasi.js",
21
+ "copasi.d.ts",
22
+ "LICENSE",
23
+ "README.md"
24
+ ],
25
+ "sideEffects": [
26
+ "./copasijs.js"
27
+ ],
28
+ "license": "BSD-2-Clause",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/copasi/COPASI.js.git"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ }
36
+ }