imcuttle / rush-papapa

The amusing locate the position of code from UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rush-papapa

NPM version NPM Downloads Prettier Conventional Commits

The amusing locate the position of code from UI

Installation

npm install rush-papapa
# or use yarn
yarn add rush-papapa

Usage

Set babel config

{
  "plugins": [
+   "rush-papapa/babel"
    ...
  ]
}

Open Url

  • http://localhost:port/?rush-papapa=true&rush-papapa-debug=true&rush-papapa-editor=vscode
query
  • rush-papapa=true

Set rush-papapa=true to enable rush-papapa in page view.

  • rush-papapa-debug=true

Set rush-papapa-debug=true to inject attributes in element.

  • rush-papapa-editor=your-editor

Set the editor that rush-papapa would use it.

Contributing

  • Fork it!
  • Create your new branch:
    git checkout -b feature-new or git checkout -b fix-which-bug
  • Start your magic work now
  • Make sure npm test passes
  • Commit your changes:
    git commit -am 'feat: some description (close #123)' or git commit -am 'fix: some description (fix #123)'
  • Push to the branch: git push
  • Submit a pull request :)

Authors

This library is written and maintained by imcuttle, moyuyc95@gmail.com.

License

MIT - imcuttle 🐟

About

The amusing locate the position of code from UI

License:MIT License


Languages

Language:JavaScript 100.0%