|
4 | 4 | "name": "Steve Kellock" |
5 | 5 | }, |
6 | 6 | "ava": { |
7 | | - "require": ["./out-test/main/test/setup.js"] |
| 7 | + "require": [ |
| 8 | + "./out-test/main/test/setup.js" |
| 9 | + ] |
8 | 10 | }, |
9 | 11 | "build": { |
10 | 12 | "appId": "com.example.electron-starter", |
|
19 | 21 | "!globals.d.ts" |
20 | 22 | ], |
21 | 23 | "linux": { |
22 | | - "target": ["tar.gz"] |
| 24 | + "target": [ |
| 25 | + "tar.gz" |
| 26 | + ] |
23 | 27 | }, |
24 | 28 | "mac": { |
25 | 29 | "category": "public.app-category.developer-tools" |
|
31 | 35 | "repo": "electron-starter" |
32 | 36 | }, |
33 | 37 | "win": { |
34 | | - "target": ["zip", "nsis"] |
| 38 | + "target": [ |
| 39 | + "zip", |
| 40 | + "nsis" |
| 41 | + ] |
35 | 42 | } |
36 | 43 | }, |
37 | 44 | "dependencies": { |
|
52 | 59 | }, |
53 | 60 | "description": "An electron starter project.", |
54 | 61 | "devDependencies": { |
| 62 | + "@storybook/react": "^3.2.4", |
55 | 63 | "@types/electron-store": "1.2.0", |
56 | 64 | "@types/mockery": "1.4.29", |
57 | 65 | "@types/mousetrap": "1.5.34", |
58 | 66 | "@types/react": "15.0.38", |
59 | 67 | "@types/react-dom": "15.5.2", |
60 | 68 | "@types/react-test-renderer": "15.5.2", |
61 | 69 | "@types/sinon": "2.3.3", |
| 70 | + "@types/storybook__react": "^3.0.3", |
62 | 71 | "ava": "0.21.0", |
63 | 72 | "babel-preset-react": "6.24.1", |
64 | 73 | "electron": "1.7.5", |
|
72 | 81 | "prettier": "1.5.3", |
73 | 82 | "react-test-renderer": "15.6.1", |
74 | 83 | "sinon": "3.2.0", |
| 84 | + "ts-loader": "^2.3.2", |
75 | 85 | "ts-node": "3.3.0", |
76 | 86 | "tslint": "5.6.0", |
77 | 87 | "tslint-eslint-rules": "4.1.1", |
|
112 | 122 | "test:compile": "tsc -p tsconfig.test.json", |
113 | 123 | "test:unit": "ava out-test/**/*.test.js", |
114 | 124 | "watch:compile": "npm run test:compile -- -w", |
115 | | - "watch:tests": "npm run test:unit -- --watch" |
| 125 | + "watch:tests": "npm run test:unit -- --watch", |
| 126 | + "storybook": "start-storybook -p 6006", |
| 127 | + "build-storybook": "build-storybook" |
116 | 128 | }, |
117 | 129 | "version": "0.12.0" |
118 | 130 | } |
0 commit comments