-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add initial package and tsconfig for components and core
- Loading branch information
Showing
4 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "components", | ||
"private": true, | ||
"version": "0.0.0", | ||
"main": "dist/vue.js", | ||
"types": "dist/vue.d.ts", | ||
"scripts": { | ||
"build": "node ../../scripts/build.mjs" | ||
}, | ||
"buildOptions": [ | ||
{ | ||
"input": "src/vue.ts", | ||
"filename": "dist/vue", | ||
"name": "VueUnity", | ||
"dts": false, | ||
"external": [ | ||
"vue-demi", | ||
"vue" | ||
], | ||
"globals": { | ||
"vue": "Vue", | ||
"vue-demi": "VueDemi" | ||
} | ||
} | ||
], | ||
"dependencies": { | ||
"unity-webgl": "workspace:^", | ||
"vue-demi": "latest" | ||
}, | ||
"devDependencies": { | ||
"vue": "^3.5.13" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationDir": "dist", | ||
"baseUrl": ".", | ||
"outDir": "dist" | ||
}, | ||
"include": ["src/*"], | ||
"exclude": ["node_modules", "**/*.test.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"name": "unity-webgl", | ||
"version": "4.0.0-beta.1", | ||
"description": "Unity-Webgl provides an easy solution for embedding Unity WebGL builds in your webApp or Vue.js project, with two-way communication between your webApp and Unity application with advanced API's.", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"unpkg": "dist/index.min.js", | ||
"jsdelivr": "dist/index.min.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"module": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
}, | ||
"./vue": { | ||
"types": "./dist/vue.d.ts", | ||
"import": "./dist/vue.mjs", | ||
"module": "./dist/vue.mjs", | ||
"require": "./dist/vue.js" | ||
}, | ||
"./*": "./*" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "node ../../scripts/build.mjs" | ||
}, | ||
"buildOptions": { | ||
"input": "src/index.ts", | ||
"filename": "dist/index", | ||
"name": "UnityWebgl", | ||
"dts": true | ||
}, | ||
"sideEffects": false, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"keywords": [ | ||
"unity webgl", | ||
"unity", | ||
"webGL", | ||
"unity3d", | ||
"unity3d webgl", | ||
"unity player", | ||
"unity3d player", | ||
"vue unity" | ||
], | ||
"author": "Mariner <mengqing723@gmail.com>", | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/Marinerer/unity-webgl", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Marinerer/unity-webgl.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Marinerer/jotter/issues" | ||
}, | ||
"peerDependencies": { | ||
"@vue/composition-api": "^1.7.2", | ||
"vue": "^2.0.0 || >=3.0.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@vue/composition-api": { | ||
"optional": true | ||
} | ||
}, | ||
"dependencies": { | ||
"vue-demi": "latest" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": false, | ||
"baseUrl": ".", | ||
"outDir": "dist" | ||
}, | ||
"include": ["src/*", "*.d.ts"], | ||
"exclude": ["node_modules", "**/*.test.ts"] | ||
} |