Skip to content

catc/majordomo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 tools â­¢ Extensions
  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