+
Skip to content

catc/majordomo

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 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

About

🤵 Save and execute custom javascript snippets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载