-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
159 lines (159 loc) · 5.26 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "minesweeper-for-web",
"version": "3.0.4",
"description": "Minesweeper as a WebComponent.",
"keywords": [
"minesweeper",
"javascript",
"webcomponent",
"custom-element"
],
"homepage": "https://henkebyte.com/minesweeper",
"bugs": {
"url": "https://github.com/manuelhenke/minesweeper-for-web/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/manuelhenke/minesweeper-for-web.git"
},
"license": "MIT",
"author": {
"name": "Manuel Henke",
"email": "contact@henkebyte.com",
"url": "https://henkebyte.com/"
},
"type": "module",
"browser": "dist/custom-element.js",
"main": "dist/custom-element.js",
"module": "dist/custom-element.js",
"types": "lib-esm/src/minesweeper-game.d.ts",
"exports": {
".": {
"types": "./lib-esm/src/minesweeper-game.d.ts",
"default": "./dist/custom-element.js"
},
"./custom-element": {
"types": "./lib-esm/src/minesweeper-game.d.ts",
"default": "./dist/custom-element.js"
},
"./custom-element.min": {
"types": "./lib-esm/src/minesweeper-game.d.ts",
"default": "./dist/custom-element.min.js"
},
"./minesweeper-game": {
"types": "./lib-esm/src/MinesweeperGame.d.ts",
"default": "./dist/minesweeper-game.js"
},
"./minesweeper-game.min": {
"types": "./lib-esm/src/MinesweeperGame.d.ts",
"default": "./dist/minesweeper-game.min.js"
},
"./core": {
"types": "./lib-esm/src/index.d.ts",
"import": "./lib-esm/src/index.js",
"require": "./lib-cjs/src/index.js",
"default": "./lib-esm/src/index.js"
},
"./engine": {
"types": "./lib-esm/src/engine/index.d.ts",
"import": "./lib-esm/src/engine/index.js",
"require": "./lib-cjs/src/engine/index.js",
"default": "./lib-esm/src/engine/index.js"
},
"./lib-esm/*": {
"types": "./lib-esm/src/index.d.ts",
"default": "./lib-esm/src/index.js"
},
"./lib-cjs/*": {
"types": "./lib-cjs/src/index.d.ts",
"default": "./lib-cjs/src/index.js"
}
},
"files": [
"index.js",
"custom-element.js",
"custom-element.min.js",
"minesweeper-game.js",
"minesweeper-game.min.js",
"core.js",
"engine.js",
"lib-esm/src/",
"lib-cjs/src/"
],
"scripts": {
"analyze": "cem analyze --litelement",
"build": "yarn build:dist && yarn build:lib && ./fixup.sh && yarn analyze --exclude dist",
"build:dist": "webpack",
"build:lib": "yarn build:lib-esm && yarn build:lib-cjs",
"build:lib-esm": "rm -fr lib-esm/* && tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
"build:lib-cjs": "rm -fr lib-cjs/* && tsc -p tsconfig-cjs.json && tsc-alias -p tsconfig-cjs.json",
"dev": "yarn build && concurrently -k -r \"yarn build:dist --watch\" \"wds\"",
"lint": "yarn lint:ts && yarn lint:style && yarn lint:prettier",
"lint:ts": "eslint --ext \".ts\" .",
"lint:prettier": "prettier --check .",
"lint:style": "stylelint \"**/*.{css,scss,sass,html}\" --ignore-path .gitignore",
"lintfix": "prettier --write --list-different . && yarn lint:ts --fix && yarn lint:style --fix",
"prepare": "husky install",
"test": "tsc && tsc-alias && wtr --coverage --debug",
"test:watch": "tsc && tsc-alias && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"tsc-alias --watch\" \"wtr --watch\""
},
"browserslist": [
"last 4 version"
],
"dependencies": {
"lit": "^2.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@custom-elements-manifest/analyzer": "^0.6.3",
"@open-wc/eslint-config": "^8.0.2",
"@open-wc/testing": "^3.0.4",
"@types/node": "^20.1.1",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@web/dev-server": "^0.2.3",
"@web/dev-server-import-maps": "^0.1.1",
"@web/test-runner": "^0.15.0",
"autoprefixer": "^10.4.2",
"concurrently": "^8.2.0",
"css-loader": "^6.5.1",
"eslint": "^8.9.0",
"eslint-config-airbnb-babel": "^0.2.2",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.4.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-lit": "^1.3.0",
"eslint-plugin-lit-a11y": "^2.2.2",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-no-secrets": "^0.8.9",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-sonarjs": "^0.18.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-wc": "^1.3.2",
"husky": "^8.0.1",
"postcss": "^8.4.4",
"postcss-html": "^1.5.0",
"postcss-loader": "^7.0.1",
"prettier": "^2.5.1",
"sass": "^1.49.8",
"sass-loader": "^13.0.2",
"stylelint": "^14.5.3",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^6.0.0",
"svg-inline-loader": "^0.8.2",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.1",
"tsc-alias": "^1.7.0",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"tslib": "^2.3.1",
"typescript": "^5.1.6",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.1"
},
"customElements": "custom-elements.json"
}