npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN typescriptsample@1.0.0 No description
+ mocha@6.1.4 + intelli-espower-loader@1.0.1 + power-assert@1.6.1 added 187 packages from 650 contributors and audited 504 packages in 34.575s found 0 vulnerabilities
TypeScript の型定義を導入
npm install -g typings
npm WARN deprecated typings@2.1.1: Typings is deprecated in favor of NPM @types -- see README for more information C:\Users\tombi\AppData\Roaming\npm\typings -> C:\Users\tombi\AppData\Roaming\npm\node_modules\typings\dist\bin.js + typings@2.1.1 added 184 packages from 100 contributors in 16.522s
at Decorator._callFunc (E:\Users\tombi\Projects\TypeScriptSample\node_modules\empower-core\lib\decorator.js:110:20) at Decorator.concreteAssert (E:\Users\tombi\Projects\TypeScriptSample\node_modules\empower-core\lib\decorator.js:103:17) at decoratedAssert (E:\Users\tombi\Projects\TypeScriptSample\node_modules\empower-core\lib\decorate.js:51:30) at powerAssert (E:\Users\tombi\Projects\TypeScriptSample\node_modules\empower-core\index.js:63:32) at Context.<anonymous> (E:\Users\tombi\Projects\TypeScriptSample\test\test2.ts:9:13)
PS E:\Users\tombi\Projects\TypeScriptSample> npm install espower-typescript npm WARN espower-typescript@9.0.2 requires a peer of typescript@>= 2.4.2 but none is installed. You must install peer dependencies yourself. npm WARN ts-node@8.1.0 requires a peer of typescript@>=2.0 but none is installed. You must install peer dependencies yourself. npm WARN typescriptsample@1.0.0 No description
+ espower-typescript@9.0.2 added 8 packages from 5 contributors and audited 743 packages in 2.888s found 0 vulnerabilities
npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN diceroller@1.0.0 No description npm WARN diceroller@1.0.0 No repository field.
+ ask-sdk@2.5.1 added 19 packages from 69 contributors and audited 22 packages in 3.509s found 0 vulnerabilities
最初に Manually select features を選び、Unit Testing を正しく選択
Vue CLI v3.5.5 ┌───────────────────────────┐ │ Update available: 3.7.0 │ └───────────────────────────┘ ? Please pick a preset: Manually select features ? Check the features needed for your project: (中略) >(*) Unit Testing ( ) E2E Testing
最終的に、以下の設定でプロジェクトを再生成
Vue CLI v3.5.5 ┌───────────────────────────┐ │ Update available: 3.7.0 │ └───────────────────────────┘ ? Please pick a preset: Manually select features ? Check the features needed for your project: Babel, Linter, Unit ? Pick a linter / formatter config: Airbnb ? Pick additional lint features: (Press <space> to select, <a> to toggle all, <i> to invert selection)Lint on save ? Pick a unit testing solution: Jest ? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In package.json ? Save this as a preset for future projects? (y/N) n
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart() npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s). npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ jest@24.8.0 added 166 packages from 103 contributors, removed 62 packages, updated 88 packages, moved 29 packages and audited 904207 packages in 43.754s found 64 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details
up to date in 10.485s fixed 0 of 64 vulnerabilities in 904207 scanned packages 63 vulnerabilities required manual review and could not be updated 1 package update for 1 vuln involved breaking changes (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)