From e88051160bf0685d094f2d1397468f8caf3bee35 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Thu, 10 Sep 2020 14:36:20 -0230 Subject: [PATCH] Update package metadata (#10) This change updates all of the package metadata. - [x] Use the correct license identifier - [x] Move all dev dependencies into `devDependencies` - [x] Add a `publishConfig` and add a package scope (`@metamask`) - [x] Add a explicit `files` list --- package.json | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 5acb668955c..d0af4c33626 100644 --- a/package.json +++ b/package.json @@ -1,26 +1,30 @@ { - "name": "metamask-module-template", + "name": "@metamask/module-template", "version": "1.0.0", "description": "", + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, "main": "dist/index.cjs.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", + "files": [ + "dist/" + ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "prepublishOnly": "npm run build", "lint": "eslint --ext .ts,.js .", "build": "rollup --config" }, - "author": "", - "license": "ISC", - "dependencies": { - "@rollup/plugin-commonjs": "^15.0.0", - "ts-node": "^9.0.0", - "typescript": "^4.0.2" - }, + "license": "MIT", "devDependencies": { + "@rollup/plugin-commonjs": "^15.0.0", "@rollup/plugin-node-resolve": "^9.0.0", "rollup": "^2.26.9", - "rollup-plugin-typescript2": "^0.27.2" + "rollup-plugin-typescript2": "^0.27.2", + "ts-node": "^9.0.0", + "typescript": "^4.0.2" } }