-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.63 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.63 KB
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
{
"private": true,
"name": "wordly",
"version": "1.3.1",
"license": "MIT",
"scripts": {
"start": "HTTPS=true preact watch --https --no-sw",
"build:kaios2": "export BROWSERSLIST_ENV=kaios2 && preact build --no-prerender --no-inline-css --no-sw --no-esm --dest dist-v2 && cp ./manifest.webapp ./dist-v2/manifest.webapp",
"build:kaios3": "export BROWSERSLIST_ENV=kaios3 && preact build --no-prerender --no-inline-css --no-sw --no-esm --dest dist-v3 && cp ./*.webmanifest ./dist-v3/",
"build:analyze": "preact build --no-prerender --no-inline-css --no-sw --no-esm --json",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"test": "jest ./tests",
"postversion": "./deploy/version.sh $npm_package_version",
"commit": "cz"
},
"repository": {
"type": "git",
"url": "https://github.com/garredow/wordly.git"
},
"dependencies": {
"@react-icons/all-files": "^4.1.0",
"lodash.clonedeep": "^4.5.0",
"lodash.kebabcase": "^4.1.1",
"preact": "^10.3.1",
"preact-render-to-string": "^5.1.4",
"preact-router": "^3.2.1"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.0",
"@types/enzyme": "^3.10.5",
"@types/jest": "^26.0.8",
"@types/lodash.clonedeep": "^4.5.6",
"@types/lodash.kebabcase": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"archiver": "^5.3.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-preact-pure": "^3.1.0",
"eslint": "^6.8.0",
"eslint-config-preact": "^1.1.1",
"jest": "^27.2.5",
"jest-preset-preact": "^4.0.2",
"preact-cli": "^3.0.0",
"semantic-release": "^19.0.2",
"sirv-cli": "^1.0.0-next.3",
"typescript": "^4.5.2"
},
"jest": {
"preset": "jest-preset-preact",
"setupFiles": [
"<rootDir>/tests/__mocks__/browserMocks.ts",
"<rootDir>/tests/__mocks__/setupTests.ts"
]
},
"browserslist": {
"kaios2": [
"Kaios 2.5",
"Firefox 48"
],
"kaios3": [
"Firefox 84"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"preact",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"build/"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": [
"warning",
{
"allowExpressions": true
}
]
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}