@3dverse/api 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,11 +1,16 @@
1
1
  {
2
2
  "name": "@3dverse/api",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "3dverse web API. https://docs.3dverse.dev/api/",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "prebuild": "npm install",
8
- "build": "tsc --declaration"
8
+ "build": "rollup --config"
9
+ },
10
+ "type": "module",
11
+ "exports": {
12
+ "require": "./dist/index.cjs.js",
13
+ "import": "./dist/index.esm.js"
9
14
  },
10
15
  "author": "",
11
16
  "license": "ISC",
@@ -13,7 +18,11 @@
13
18
  "axios": "^1.1.3"
14
19
  },
15
20
  "devDependencies": {
21
+ "@rollup/plugin-typescript": "^10.0.1",
16
22
  "@types/node": "^18.11.8",
23
+ "rollup": "^3.5.0",
24
+ "rollup-plugin-dts": "^5.0.0",
25
+ "rollup-plugin-delete": "^2.0.0",
17
26
  "typescript": "^4.8.4"
18
27
  }
19
28
  }