Skip to content

Commit

Permalink
Update package metadata (#10)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
whymarrh authored Sep 10, 2020
1 parent 34b49fc commit e880511
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit e880511

Please sign in to comment.