chore: Add install-local script

pull/33/head
Boaz Poolman 2021-12-28 22:07:43 +01:00
parent 2e1cf3f92e
commit 7bae51f34d
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ git clone git@github.com:YOUR_USERNAME/strapi-plugin-config-sync.git config-sync
Go to the plugin and install it's dependencies. Go to the plugin and install it's dependencies.
```bash ```bash
cd YOUR_STRAPI_PROJECT/src/plugins/config-sync/ && yarn install cd YOUR_STRAPI_PROJECT/src/plugins/config-sync/ && yarn install-local
``` ```
#### 4. Enable the plugin #### 4. Enable the plugin

View File

@ -16,7 +16,8 @@
"scripts": { "scripts": {
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'", "eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'",
"eslint:fix": "eslint --fix './**/*.{js,jsx}'", "eslint:fix": "eslint --fix './**/*.{js,jsx}'",
"test:unit": "jest --verbose" "test:unit": "jest --verbose",
"install-local": "yarn install && rm -rf node_modules/@strapi/helper-plugin"
}, },
"dependencies": { "dependencies": {
"chalk": "^4.1.2", "chalk": "^4.1.2",