Skip to content

Commit f68d878

Browse files
committed
adding rollup-watch
1 parent 26aefbd commit f68d878

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
],
1414
"main": "build/index.js",
1515
"scripts": {
16-
"build": "rollup -c"
16+
"build": "rollup -c",
17+
"build-w": "rollup -c -w"
1718
},
1819
"peerDependencies": {
1920
"dustjs-linkedin": "^2.7.5"
2021
},
2122
"devDependencies": {
22-
"rollup": "^0.41.6"
23+
"rollup": "^0.41.6",
24+
"rollup-watch": "^3.2.2"
2325
}
2426
}

yarn.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,12 +770,22 @@ request@^2.81.0:
770770
tunnel-agent "^0.6.0"
771771
uuid "^3.0.0"
772772

773+
require-relative@0.8.7:
774+
version "0.8.7"
775+
resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de"
776+
773777
rimraf@2, rimraf@^2.5.1, rimraf@^2.6.1:
774778
version "2.6.1"
775779
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
776780
dependencies:
777781
glob "^7.0.5"
778782

783+
rollup-watch@^3.2.2:
784+
version "3.2.2"
785+
resolved "https://registry.yarnpkg.com/rollup-watch/-/rollup-watch-3.2.2.tgz#5e574232e9ef36da9177f46946d8080cb267354b"
786+
dependencies:
787+
require-relative "0.8.7"
788+
779789
rollup@^0.41.6:
780790
version "0.41.6"
781791
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.41.6.tgz#e0d05497877a398c104d816d2733a718a7a94e2a"

0 commit comments

Comments
 (0)