daKmoR / testing-workflow-for-web-components

MIT License
8 stars 7 forks source link

with npm commands are not working #4

Open engiNisha opened 5 years ago

engiNisha commented 5 years ago

npm init @open-wc testing is command not working saying unknown command testing..if i am using command yarn add @open-wc/testing-karma --dev its installed but in my project i am only using npm.Can you help me in this

daKmoR commented 5 years ago

the @open-wc generators changed - pls follow the updated info https://dev.to/open-wc/testing-workflow-for-web-components-g73#lets-get-started

for more info on the generators see https://open-wc.org/init/

yarn add is the same as npm install so you can just write

npm install @open-wc/testing-karma --save-dev

for a manual way of installing testing see https://open-wc.org/testing/