diff --git a/package.json b/package.json index 891053f..8876899 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "impulse.js", - "version": "0.1.1", + "name": "@dubrowgn/impulse.js", + "version": "0.2.1", "description": "Impulse.js is a high performance HTML5 game engine for JavaScript.", "main": "main.js", "scripts": { @@ -8,6 +8,7 @@ "build-release": "npx tsc && npm run -s compress", "clean": "rm -rf dist", "compress": "npx uglify-es dist/impulse.js -o dist/impulse.min.js -cm --source-map 'content=dist/impulse.js.map' --comments", + "publish": "cp package.json dist/. && cd dist && npm publish --access=public", "shell": "npx ts-node", "shell-test": "npx ts-node --project test/tsconfig.json --dir .", "test": "npx ts-node --project test/tsconfig.json --dir . $(npx which pta) test/**/*.{j,t}s", @@ -33,5 +34,8 @@ "ts-node": "^8.10.2", "typescript": "^3.9.7", "uglify-es": "^3.3.9" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/" } }