https://github.com/quilljs/quill
こちらのquillというライブラリを少し編集して自分で使いたいと思います。
それをするにあたってquillをフォークしたプロジェクト内で描画を確認したり、各動作確認をしたいと思ってます。
json
1"scripts": { 2 "build": "npm run lint && npm run build:webpack", 3 "build:webpack": "webpack --config _develop/webpack.config.js; rm dist/quill.core dist/quill.bubble dist/quill.snow", 4 "build:release": "./_develop/scripts/release.sh", 5 "lint": "eslint blots core formats modules themes ui test", 6 "start": "npm run build:webpack; bundle exec foreman start -f _develop/procfile", 7 "test": "npm run test:unit", 8 "test:all": "npm run test:unit; npm run test:functional", 9 "test:functional": "./_develop/scripts/puppeteer.sh", 10 "test:unit": "npm run build; karma start _develop/karma.config.js", 11 "test:coverage": "webpack --env.coverage --config _develop/webpack.config.js; karma start _develop/karma.config.js --reporters coverage", 12 "travis": "npm run lint && karma start _develop/karma.config.js --reporters dots,saucelabs" 13 },
こちらがquillのpackage.jsonのscriptsの中です。
正直、詳しい理解はできていませんが、なんとなく、startコマンドとかserveコマンドを実行すればローカルサーバーが立ち上がり、そこでデバックできるものだと思っていました。
しかし、"npm run build:webpack; bundle exec foreman start -f _develop/procfile"は役割が違うのか、あとそもそもyarn startをするとエラーが出てしまいます...
npm ERR! quill@2.0.0-dev.3 start: npm run build:webpack; bundle exec foreman start -f _develop/procfile npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the quill@2.0.0-dev.3 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
quillの動作確認を同プロジェクト内で行うにはどうしたらいいでしょうか...。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/02/18 05:32
2019/02/18 06:59
退会済みユーザー
2019/02/18 08:07