chore: Add install-local script
parent
2e1cf3f92e
commit
7bae51f34d
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue