jotform-answer-fields-dev-pack

0.0.131 • Public • Published

answer-fields

A set of react components to render form responses.

Installation

npm install @jotforminc/answer-fields --save

Since this is a private npm module, you need to log in before running this command.

If you don't know the npm credentials you can simply add it as a dependency to package.json of your project.

{
  "dependencies": {
    "@jotforminc/answer-fields": "1.0.5"
  }
}

The RDS environment should have necessary credentials. Please open an issue if you are unable to install.

Development

Development in dependent projects

"answer-fields" should be linked in your dependent projects to enable development without releasing a new version. The steps below will create a symlink in node_modules folder of the dependent project to RDS copy of "answer-fields".

Note: This steps can be automated via runDevServer scripts.

  • Clone this repo to your local and sync to RDS. Make sure that your sftp-config.json is configured.
git clone git@github.com:jotform/answer-fields.git
cd answer-fields && ./syncAll
  • SSH to RDS and install dependencies, link, and run answer-fields
cd /www/answer-fields/{username}
nvm use && npm i && npm link
npm run build:lib:watch
  • SSH to RDS with another terminal, go to dependent project, link answer-fields. Then run your project as usual.
cd /www/{project-name}/{username}
npm link "@jotforminc/answer-fields"
./runDevServer

Readme

Keywords

none

Package Sidebar

Install

npm i jotform-answer-fields-dev-pack

Weekly Downloads

129

Version

0.0.131

License

none

Unpacked Size

905 kB

Total Files

361

Last publish

Collaborators

  • eeertekin
  • jotform