Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Steam committed Mar 5, 2020
1 parent d2e3de3 commit 80739fa
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 18 deletions.
4 changes: 4 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ semi: false
singleQuote: true
tabWidth: 2
trailingComma: all
pluginSearchDirs:
- ./node_modules
plugins:
- ./node_modules/prettier-plugin-packagejson
32 changes: 21 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
"name": "@bumble/messages",
"version": "1.0.0",
"description": "An API for Chrome extension messages that makes sense.",
"keywords": [
"chrome",
"extension",
"runtime",
"messages",
"api",
"typescript",
"intellisense"
],
"bugs": {
"url": "https://github.com/bumble-org/messages/issues"
},
Expand All @@ -11,28 +20,31 @@
},
"license": "MIT",
"author": "Jack and Amy Steam <[email protected]>",
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"types": "types/index.d.ts",
"files": [
"lib",
"types"
],
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"types": "types/index.d.ts",
"scripts": {
"build": "run-p build:dev build:types",
"build:dev": "rollup -c --environment NODE_ENV:development",
"build:pro": "rollup -c --environment NODE_ENV:production",
"build:testExtension": "rm -rf tests/e2e/extension-build && rollup -c tests/e2e/extension-src/rollup.config.js",
"build:types": "tsc -p tsconfig.d.json",
"build:watch": "npm run build:dev -- -w",
"build:testExtension": "rm -rf tests/e2e/extension-build && rollup -c tests/e2e/extension-src/rollup.config.js",
"prepublish": "run-s build:pro build:types",
"postpublish": "rm -rf node_modules package-lock.json && pnpm i",
"start": "run-p build:watch test:watch",
"test:e2e": "run-s build:testExtension && jest e2e",
"test": "run-s test:quick test:e2e",
"test:e2e": "run-s build:testExtension && jest e2e",
"test:quick": "jest --testPathIgnorePatterns=e2e",
"test:watch": "jest --testPathIgnorePatterns=e2e --watch",
"preversion": "run-s test:quick",
"prepublish": "run-s build:pro build:types",
"postpublish": "rm -rf node_modules package-lock.json && pnpm i"
"preversion": "run-s test:quick"
},
"dependencies": {
"@bumble/jest-chrome": "0.4.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.2",
Expand All @@ -59,6 +71,7 @@
"npm-run-all": "^4.1.5",
"power-assert": "^1.6.1",
"prettier": "^1.19.1",
"prettier-plugin-packagejson": "^2.0.10",
"puppeteer": "^2.1.1",
"rollup": "^1.32.0",
"rollup-plugin-chrome-extension": "^2.1.3",
Expand All @@ -72,8 +85,5 @@
},
"peerDependencies": {
"rxjs": "^6.5.4"
},
"dependencies": {
"@bumble/jest-chrome": "0.4.0"
}
}
37 changes: 30 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80739fa

Please sign in to comment.