Skip to content

Commit

Permalink
Add publish command, cleanup package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Jan 31, 2024
1 parent d851b63 commit 68eed9e
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 2,402 deletions.
31 changes: 10 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
{
"name": "@metamask/template-snap-monorepo",
"version": "0.2.1",
"name": "@xmtp/snap-monorepo",
"version": "0.0.0",
"private": true,
"description": "",
"homepage": "https://github.com/MetaMask/template-snap-monorepo#readme",
"bugs": {
"url": "https://github.com/MetaMask/template-snap-monorepo/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MetaMask/template-snap-monorepo.git"
},
"license": "(MIT-0 OR Apache-2.0)",
"author": "",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build --filter='./packages/snap'",
"clean": "turbo run clean && rm -rf node_modules && yarn cache clean",
"format:check": "turbo run format:check",
"dev": "turbo run dev",
"format": "turbo run format",
"format:check": "turbo run format:check",
"lint": "FORCE_COLOR=1 turbo run lint --filter='./packages/snap'",
"dev": "turbo run dev",
"publish": "yarn build && changeset publish",
"test": "FORCE_COLOR=1 turbo run test"
},
"dependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.1"
},
"devDependencies": {
"@metamask/eslint-config": "^12.2.0",
"@metamask/eslint-config-jest": "^12.1.0",
Expand All @@ -42,16 +36,11 @@
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.2.1",
"prettier-plugin-packagejson": "^2.2.18",
"semantic-release": "^21.0.7",
"turbo": "^1.11.3",
"typescript": "^5.1.0"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
},
"packageManager": "[email protected]",
"dependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.1"
}
}
2 changes: 0 additions & 2 deletions packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"format:base": "prettier --ignore-path ../../.gitignore",
"format:check": "yarn format:base -c .",
"lint": "eslint . --ignore-path ../../.gitignore",
"prepublishOnly": "yarn build",
"serve": "mm-snap serve",
"pretest": "yarn build",
"test": "yarn build && jest --runInBand"
},
"release": {
Expand Down
Loading

0 comments on commit 68eed9e

Please sign in to comment.