forked from noya-app/noya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.84 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "noya",
"version": "0.0.3",
"main": "index.js",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/**"
],
"nohoist": [
"**/electron-squirrel-startup",
"**/electron-squirrel-startup/**",
"**/@electron-forge/publisher-github",
"**/@electron-forge/publisher-github/**"
]
},
"modular": {
"type": "root"
},
"scripts": {
"start": "cross-env PORT=1234 modular start app",
"start:desktop": "cd packages/noya-desktop && yarn run start",
"start:site": "yarn workspace site dev",
"build": "modular build app",
"build:desktop": "cd packages/noya-desktop && yarn run make",
"build:site": "yarn workspace site build",
"release:desktop": "cd packages/noya-desktop && yarn run release",
"test": "modular test",
"test:clean": "cross-env JEST_IMAGE_SNAPSHOT_TRACK_OBSOLETE=1 yarn test --reporters=default --reporters=jest-image-snapshot/src/outdated-snapshot-reporter.js",
"lint": "eslint . --ext .js,.ts,.tsx",
"lint-staged": "lint-staged",
"prettier": "prettier --write .",
"postinstall": "husky install",
"start:canvaskit-sandbox": "modular start canvaskit-sandbox",
"clean": "npx rimraf **/node_modules"
},
"eslintConfig": {
"extends": "modular-app"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80,
"proseWrap": "always"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@shopify/eslint-plugin": "^40.1.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.3",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^12.6.2",
"@types/jest": "^26.0.20",
"@types/jest-image-snapshot": "^4.3.1",
"@types/jsdom": "^16.2.9",
"@types/node": "^14.14.22",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"cross-fetch": "^3.1.4",
"eslint-config-modular-app": "^3.0.2",
"husky": "^5.1.3",
"jest-image-snapshot": "^4.5.1",
"lint-staged": "^13.1.0",
"modular-scripts": "^3.6.0",
"modular-template-app": "^1.1.0",
"modular-template-package": "^1.1.0",
"modular-template-view": "^1.1.0",
"nock": "^13.1.1",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"typescript": "^4.9.4",
"use-context-selector": "^1.3.7",
"zod": "^3.20.2"
},
"lint-staged": {
"packages/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"npx eslint --fix --max-warnings 0"
]
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!browser-fs-access)"
]
},
"devDependencies": {
"cross-env": "^7.0.3"
}
}