diff --git a/package.json b/package.json index 67ea45f..669c9e2 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "ateoat team", "private": true, "scripts": { - "postinstall": "npm run util:downloadssets && concurrently -n client,server \"npm run install:client\" \"npm run install:server\"", + "postinstall": "concurrently -n client,server \"npm run install:client\" \"npm run install:server\"", "install:client": "cd client && npm install", "install:server": "cd server && npm install", "lint": "concurrently -n client,server \"npm run lint:client\" \"npm run lint:server\"", @@ -23,7 +23,6 @@ "util:changelog:generate:current": "conventional-changelog -p angular -o CHANGELOG-current.md -r 2", "util:changelog:commit": "git commit CHANGELOG.md CHANGELOG-current.md -m \"Update changelog\" || true", "util:dirtycheck": "ts-node utils/dirtycheck", - "util:downloadassets": "ts-node --compilerOptions=\"{\\\"lib\\\":[\\\"dom\\\",\\\"es2021\\\"]}\" utils/download-client-assets", "util:version:reversion": "ts-node utils/postversion.reversion", "preversion": "npm run util:dirtycheck && npm run lint && npm run build", "version": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md", diff --git a/utils/download-client-assets.ts b/utils/download-client-assets.ts deleted file mode 100644 index 07c1612..0000000 --- a/utils/download-client-assets.ts +++ /dev/null @@ -1,18 +0,0 @@ - -const getAssets = async () => { - - const manifest = await fetch('https://assets.ateoat.com/manifest.json'); - const data = await manifest.json(); - - const { spritesheetHQ, spritesheetMQ, spritesheetLQ, spritesheetPQ } = data.assets; - - const downloadAssetsForSet = (set) => { - }; - - downloadAssetsForSet(spritesheetHQ); - downloadAssetsForSet(spritesheetMQ); - downloadAssetsForSet(spritesheetLQ); - downloadAssetsForSet(spritesheetPQ); -}; - -getAssets(); \ No newline at end of file