This commit is contained in:
55
G102-sequence/sdk/package/package.json
Normal file
55
G102-sequence/sdk/package/package.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"name": "game-iframe-sdk",
|
||||
"version": "1.1.2",
|
||||
"description": "SDK for communicating with game iframes (postMessage protocol)",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/esm/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/esm/index.js",
|
||||
"require": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build:iframe": "webpack --config webpack.config.js",
|
||||
"build": "tsc && tsc -p tsconfig.esm.json && npm run build:iframe",
|
||||
"clean": "rimraf dist",
|
||||
"prepublishOnly": "npm run clean && npm run build",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"keywords": [
|
||||
"game",
|
||||
"iframe",
|
||||
"sdk",
|
||||
"postMessage",
|
||||
"communication"
|
||||
],
|
||||
"author": "Sena AI",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"react": ">=16.8.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"react": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.10.0",
|
||||
"@types/react": "^18.2.0",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"html-webpack-plugin": "^5.6.6",
|
||||
"rimraf": "^5.0.5",
|
||||
"ts-loader": "^9.5.4",
|
||||
"typescript": "^5.3.0",
|
||||
"webpack": "^5.104.1",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"webpack-obfuscator": "^3.6.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user