ohzi-core 8.0.0 → 8.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ohzi-core",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "OHZI Core Library",
5
5
  "source": "src/index.js",
6
6
  "module": "build/index.module.js",
@@ -19,7 +19,8 @@
19
19
  "create-tag": "cross-var git tag -a \"v$npm_package_version\" -m \"Release Version $npm_package_version\" && cross-var git push origin \"v$npm_package_version\"",
20
20
  "update-version": "cross-var echo \"v$npm_package_version\" > .version",
21
21
  "fix-syntax": "standardx --fix",
22
- "generate-types": "npx -p typescript tsc src/* --declaration --allowJs --emitDeclarationOnly --outDir types"
22
+ "generate-types": "npx -p typescript tsc src/* --declaration --allowJs --emitDeclarationOnly --outDir types",
23
+ "upload": "yarn build && npm publish && yarn create-tag"
23
24
  },
24
25
  "repository": {
25
26
  "type": "git",
@@ -35,12 +36,14 @@
35
36
  "url": "https://github.com/ohzinteractive/core/issues"
36
37
  },
37
38
  "homepage": "https://github.com/ohzinteractive/core",
39
+ "publishConfig": {
40
+ "registry": "https://registry.npmjs.org/"
41
+ },
38
42
  "dependencies": {
39
43
  "pit-js": "1.9.1",
40
44
  "three": "0.148.0"
41
45
  },
42
46
  "devDependencies": {
43
- "buffer": "^6.0.3",
44
47
  "cross-var": "^1.1.0",
45
48
  "rollup": "^2.44.0",
46
49
  "rollup-plugin-glslify": "^1.2.0",
@@ -1,7 +1,7 @@
1
- import { AbstractLoader } from 'ohzi-core';
2
-
3
1
  import { AudioContext } from 'three';
2
+
4
3
  import AudioClip from '../components/AudioClip';
4
+ import AbstractLoader from './AbstractLoader';
5
5
 
6
6
  export default class AudioLoader extends AbstractLoader
7
7
  {