-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 3.9 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
{
"name": "shooter",
"version": "0.0.1",
"description": "game",
"homepage": "https://nimblerendition.com",
"bugs": {
"url": "https://github.com/derduher/blaster/issues"
},
"repository": {
"type": "git"
},
"license": "MIT",
"author": "Patrick Weygand",
"main": "index.js",
"scripts": {
"build": "webpack --config webpack.prod.js",
"coverage": "codecov --token=9530801e-4ebe-4249-b3db-28762b62eda1",
"pretty": "eslint --fix 'src/**/*.ts'",
"start": "webpack-dev-server --open --config webpack.dev.js",
"test": "tsc && jest",
"upload": "aws s3 sync build/ s3://aws-website-blaster-2d3g4 --delete --cache-control 'public, max-age=31540000' --exclude '*.html'",
"upload-html": "aws s3 sync build/ s3://aws-website-blaster-2d3g4 --cache-control 'public, max-age=600' --exclude '*' --include '*.html'",
"watch": "webpack --progress --watch --config webpack.dev.js"
},
"husky": {
"hooks": {
"pre-commit": "sort-package-json && npm run pretty",
"post-checkout": "npm i",
"post-merge": "npm i",
"pre-push": "npm test"
}
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"jest",
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"indent": "off",
"lines-between-class-members": [
"error",
"always",
{
"exceptAfterSingleLine": true
}
],
"no-case-declarations": 0,
"no-console": 0,
"no-unused-vars": 0,
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": "multiline-expression",
"next": "multiline-expression"
}
],
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "none"
}
]
}
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/js/**/*.{ts,tsx}",
"!node_modules/",
"!src/js/**/*.spec.*",
"!src/js/types.ts"
],
"setupFiles": [
"jest-canvas-mock"
]
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.12.1",
"spatial-hashmap": "^1.0.4"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-polyfill": "^6.26.0",
"babel-preset-minify": "^0.5.1",
"clean-webpack-plugin": "^3.0.0",
"codecov": "^3.8.0",
"copy-webpack-plugin": "^5.1.2",
"css-loader": "^5.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-prettier": "^3.1.4",
"html-webpack-plugin": "^4.5.0",
"html-webpack-template": "^6.2.0",
"husky": "^4.3.0",
"jasmine": "^3.6.3",
"jest": "^26.6.1",
"jest-canvas-mock": "^2.3.0",
"less": "^3.12.2",
"less-loader": "^5.0.0",
"prettier": "^2.1.2",
"serviceworker-webpack-plugin": "^1.0.1",
"sort-package-json": "^1.46.1",
"source-map": "~0.7.3",
"style-loader": "^1.3.0",
"typescript": "^4.0.5",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2"
}
}