|
1 | 1 | { |
| 2 | + "name": "typescript-with-electron-react-kit", |
| 3 | + "main": "out/main.js", |
| 4 | + "version": "1.0.0", |
| 5 | + "description": "An electron starter project.", |
| 6 | + "license": "MIT", |
| 7 | + "private": true, |
2 | 8 | "author": { |
3 | 9 | "email": "steve@kellock.ca", |
4 | 10 | "name": "Steve Kellock" |
5 | 11 | }, |
6 | | - "ava": { |
7 | | - "require": [ |
8 | | - "./out-test/main/test/setup.js" |
9 | | - ] |
10 | | - }, |
| 12 | + "repository": "skellock/typescript-with-electron-react-kit", |
11 | 13 | "build": { |
12 | 14 | "appId": "com.example.typescript-with-electron-react-kit", |
13 | 15 | "files": [ |
|
21 | 23 | "!globals.d.ts" |
22 | 24 | ], |
23 | 25 | "linux": { |
24 | | - "target": [ |
25 | | - "tar.gz" |
26 | | - ] |
| 26 | + "target": ["tar.gz"] |
27 | 27 | }, |
28 | 28 | "mac": { |
29 | 29 | "category": "public.app-category.developer-tools" |
|
35 | 35 | "repo": "typescript-with-electron-react-kit" |
36 | 36 | }, |
37 | 37 | "win": { |
38 | | - "target": [ |
39 | | - "zip", |
40 | | - "nsis" |
41 | | - ] |
| 38 | + "target": ["zip", "nsis"] |
42 | 39 | } |
43 | 40 | }, |
| 41 | + "scripts": { |
| 42 | + "build-storybook": "build-storybook", |
| 43 | + "check": "npm-run-all check:*", |
| 44 | + "check:src": "tsc -p tsconfig.json --noEmit --pretty", |
| 45 | + "check:test": "tsc -p tsconfig.test.json --noEmit --pretty", |
| 46 | + "clean": "rm -rf .fusebox out dist out-test", |
| 47 | + "compile": "NODE_ENV=production ts-node fuse", |
| 48 | + "coverage:upload": "cat ./coverage/lcov.info | coveralls", |
| 49 | + "coverage:report": "nyc --reporter=lcov --reporter=html --reporter=text ava", |
| 50 | + "coverage": "npm-run-all test:clean test:compile coverage:report", |
| 51 | + "dist": "electron-builder --mac --win --linux --ia32 --x64", |
| 52 | + "draft": "electron-builder -p always --draft --mac --win --linux --ia32 --x64", |
| 53 | + "info": "npm-scripts-info", |
| 54 | + "lint": "tslint \"fuse.ts\" \"{src,typings}/**/*.{ts,tsx}\"", |
| 55 | + "pack": "electron-builder --dir", |
| 56 | + "postinstall": "electron-builder install-app-deps", |
| 57 | + "precommit": "lint-staged", |
| 58 | + "prepush": "npm-run-all check lint", |
| 59 | + "sanity": "npm-run-all clean check lint test clean compile clean", |
| 60 | + "start": "ts-node fuse", |
| 61 | + "storybook": "start-storybook -p 6006", |
| 62 | + "test": "npm-run-all test:clean test:compile test:unit", |
| 63 | + "test:clean": "rm -rf out-test", |
| 64 | + "test:compile": "tsc -p tsconfig.test.json", |
| 65 | + "test:unit": "ava", |
| 66 | + "watch:compile": "npm run test:compile -- -w", |
| 67 | + "watch:tests": "npm run test:unit -- --watch" |
| 68 | + }, |
44 | 69 | "dependencies": { |
45 | 70 | "electron-is-dev": "^0.3.0", |
46 | 71 | "electron-log": "^2.2.11", |
47 | 72 | "electron-store": "^1.3.0", |
48 | | - "electron-updater": "^2.15.0", |
| 73 | + "electron-updater": "^2.16.1", |
49 | 74 | "electron-window-state-manager": "^0.3.2", |
50 | 75 | "glamor": "^2.20.40", |
51 | 76 | "mousetrap": "^1.6.1", |
52 | 77 | "popmotion": "^7.8.2", |
53 | 78 | "popmotion-react": "^1.1.1", |
54 | 79 | "ramda": "^0.25.0", |
55 | | - "react": "^16.0.0", |
56 | | - "react-dom": "^16.0.0", |
| 80 | + "react": "^16.1.0", |
| 81 | + "react-dom": "^16.1.0", |
57 | 82 | "react-transition-group": "^2.2.1" |
58 | 83 | }, |
59 | | - "description": "An electron starter project.", |
60 | 84 | "devDependencies": { |
61 | | - "@storybook/react": "^3.2.14", |
| 85 | + "@storybook/react": "^3.2.15", |
62 | 86 | "@types/electron-is-dev": "^0.3.0", |
63 | 87 | "@types/electron-store": "^1.2.0", |
64 | 88 | "@types/mockery": "^1.4.29", |
65 | 89 | "@types/mousetrap": "^1.5.34", |
66 | | - "@types/react": "^16.0.20", |
67 | | - "@types/react-dom": "^16.0.2", |
| 90 | + "@types/react": "^16.0.22", |
| 91 | + "@types/react-dom": "^16.0.3", |
68 | 92 | "@types/react-test-renderer": "^16.0.0", |
69 | 93 | "@types/sinon": "^2.3.7", |
70 | 94 | "@types/storybook__react": "^3.0.5", |
71 | 95 | "ava": "^0.23.0", |
72 | 96 | "babel-preset-react": "^6.24.1", |
73 | 97 | "coveralls": "^3.0.0", |
74 | 98 | "electron": "^1.7.9", |
75 | | - "electron-builder": "^19.43.0", |
| 99 | + "electron-builder": "^19.45.4", |
76 | 100 | "fuse-box": "^2.4.0", |
77 | 101 | "husky": "^0.14.3", |
78 | | - "lint-staged": "^4.3.0", |
| 102 | + "lint-staged": "^5.0.0", |
79 | 103 | "mockery": "^2.1.0", |
80 | | - "npm-run-all": "^4.1.1", |
| 104 | + "npm-run-all": "^4.1.2", |
81 | 105 | "npm-scripts-info": "^0.3.6", |
82 | | - "nyc": "^11.2.1", |
83 | | - "prettier": "^1.7.4", |
| 106 | + "nyc": "^11.3.0", |
| 107 | + "prettier": "^1.8.2", |
84 | 108 | "react-test-renderer": "^16.0.0", |
85 | | - "sinon": "^4.0.2", |
| 109 | + "sinon": "^4.1.2", |
86 | 110 | "ts-loader": "^3.1.1", |
87 | 111 | "ts-node": "^3.3.0", |
88 | 112 | "tslint": "^5.8.0", |
89 | 113 | "typescript": "~2.6.1" |
90 | 114 | }, |
91 | | - "license": "MIT", |
92 | | - "lint-staged": { |
93 | | - "*.{ts,tsx}": [ |
94 | | - "prettier --write", |
95 | | - "tslint --fix", |
96 | | - "git add" |
97 | | - ] |
98 | | - }, |
99 | | - "main": "out/main.js", |
100 | | - "name": "typescript-with-electron-react-kit", |
101 | | - "private": true, |
102 | | - "repository": "skellock/typescript-with-electron-react-kit", |
103 | | - "scripts": { |
104 | | - "build-storybook": "build-storybook", |
105 | | - "check": "npm-run-all check:*", |
106 | | - "check:src": "tsc -p tsconfig.json --noEmit --pretty", |
107 | | - "check:test": "tsc -p tsconfig.test.json --noEmit --pretty", |
108 | | - "clean": "rm -rf .fusebox out dist out-test", |
109 | | - "compile": "NODE_ENV=production ts-node fuse", |
110 | | - "coverage:upload": "cat ./coverage/lcov.info | coveralls", |
111 | | - "coverage:report": "nyc --reporter=lcov --reporter=html --reporter=text ava", |
112 | | - "coverage": "npm-run-all test:clean test:compile coverage:report", |
113 | | - "dist": "electron-builder --mac --win --linux --ia32 --x64", |
114 | | - "draft": "electron-builder -p always --draft --mac --win --linux --ia32 --x64", |
115 | | - "info": "npm-scripts-info", |
116 | | - "lint": "tslint \"fuse.ts\" \"{src,typings}/**/*.{ts,tsx}\"", |
117 | | - "pack": "electron-builder --dir", |
118 | | - "postinstall": "electron-builder install-app-deps", |
119 | | - "precommit": "lint-staged", |
120 | | - "prepush": "npm-run-all check lint", |
121 | | - "sanity": "npm-run-all clean check lint test clean compile clean", |
122 | | - "start": "ts-node fuse", |
123 | | - "storybook": "start-storybook -p 6006", |
124 | | - "test": "npm-run-all test:clean test:compile test:unit", |
125 | | - "test:clean": "rm -rf out-test", |
126 | | - "test:compile": "tsc -p tsconfig.test.json", |
127 | | - "test:unit": "ava", |
128 | | - "watch:compile": "npm run test:compile -- -w", |
129 | | - "watch:tests": "npm run test:unit -- --watch" |
| 115 | + "ava": { |
| 116 | + "require": ["./out-test/main/test/setup.js"] |
130 | 117 | }, |
131 | | - "version": "1.0.0" |
| 118 | + "lint-staged": { |
| 119 | + "*.{ts,tsx}": ["prettier --write", "tslint --fix", "git add"] |
| 120 | + } |
132 | 121 | } |
0 commit comments