Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 1.14 KB

README.md

File metadata and controls

69 lines (54 loc) · 1.14 KB

Majordomo

screenshot


Save and execute custom javascript snippets


Installation

Install directly via the chrome web store.

For manual installation:

  1. clone the repo
  2. npm install (with node v10.16+)
  3. npm run build
  4. in Chrome, go to More toolsExtensions
  5. click Load unpacked and select the build/ directory

Development

Getting started

Requires node 10.16+

  1. run npm run dev
  2. manually install the addon (see above)

Other commands

  • tests: npm run test
  • analyze bundle: npm run analyze
  • convert icons: npm run icons

Resolving modules

Currently support directory resolvers:

{
	"@popup/*": [
		"src/popup/*"
	],
	"@background/*": [
		"src/background/*"
	],
	"@common/*": [
		"src/common/*"
	],
	"@options/*": [
		"src/options/*"
	]
}

To modify, update:

  • tscofig.json
  • package.json -> jest.moduleNameMapper
  • webpack/config.js -> resolve.alias

License

MIT