-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 2.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "yaspet-react",
"version": "1.0.1",
"description": "Yaspet ( aka Yet Another Starter Pack for Electron Typescript ) use Electron 4, React 16 for render process and Typescript 3 for main process.",
"author": "Ravidhu Dissanayake <[email protected]>",
"main": "app/build/back/init.js",
"license": "MIT",
"private": false,
"scripts": {
"build-front": "rm -rf app/build/front/* && ./node_modules/.bin/webpack --config webpack/build.js",
"build-back": "rm -rf app/build/back/* && ./node_modules/.bin/tsc -p tsconfig.back.json",
"build": "yarn run build-back && yarn run build-front",
"dev-front": "./node_modules/.bin/webpack --config webpack/dev.js",
"dev-back": "./node_modules/.bin/nodemon -V --watch 'app/src/back/**/*' -e ts,tsx --exec 'yarn run build-back && ./node_modules/.bin/electron .'",
"dev": "yarn run build && yarn run dev-front & yarn run dev-back",
"test-front": "./node_modules/.bin/jest -u --config=./jest.front.config.js",
"test-back": "./node_modules/.bin/jest -u --config=./jest.back.config.js",
"test": "yarn run test-front && yarn run test-back"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@types/jest": "^26.0.24",
"@types/node": "^16.4.3",
"@types/react": "^17.0.15",
"@types/react-dom": "^17.0.9",
"@types/react-test-renderer": "^17.0.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.0.6",
"css-loader": "^6.2.0",
"electron": "^13.1.7",
"electron-reload": "^2.0.0-alpha.1",
"file-loader": "^6.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.6",
"mini-css-extract-plugin": "^2.1.0",
"node-sass": "^6.0.1",
"nodemon": "^2.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"resolve-url-loader": "^4.0.0",
"sass-loader": "^12.1.0",
"ts-jest": "^27.0.4",
"ts-node": "^10.1.0",
"typescript": "^4.3.5",
"webpack": "^5.46.0",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
}
}