We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f42f7 commit 34a6c04Copy full SHA for 34a6c04
package.json
@@ -25,7 +25,7 @@
25
"start": "npx webpack --config webpack.config.js",
26
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
27
"dev": "npx webpack --config webpack.config.js --watch",
28
- "postinstall": "node $PWD/node_modules/@cocreate/cli/check-coc.js"
+ "postinstall": "node -e \"const { execSync } = require('child_process'); try { execSync('coc --version', { stdio: 'ignore' }); } catch (error) { try { execSync('npm install -g @cocreate/cli', { stdio: 'inherit' }); console.log('Installed \"@cocreate/cli\" globally.'); } catch (error) { console.error('Failed to install \"@cocreate/cli\" globally:', error); } }\""
29
},
30
"repository": {
31
"type": "git",
0 commit comments