-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
124 lines (124 loc) · 3.78 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
{
"name": "facecamp",
"description": "Facecamp: chat your mug! Take animated gifs of your face and share with your fave Slack channel. Made by your friends at &yet.",
"version": "0.0.2",
"author": "&yet",
"browserslist": [
"edge 16",
"firefox 58",
"chrome 66",
"safari 12.1",
"opera 53",
"ios 11.3"
],
"dependencies": {
"accessible-autocomplete": "github:lukekarrys/accessible-autocomplete#229/confirm-on-blur-undefined",
"classnames": "^2.2.6",
"dlv": "^1.1.3",
"gif.js": "^0.2.0",
"preact": "^8.5.1",
"preact-router": "^2.6.1",
"pretty-bytes": "^5.3.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"babel-eslint": "^10.0.2",
"create-file-webpack": "^1.0.2",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-react-app": "^5.0.1",
"eslint-plugin-flowtype": "^4.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"gzip-size-cli": "^3.0.0",
"husky": "^3.0.3",
"if-env": "^1.0.4",
"lint-staged": "^9.2.1",
"lodash": "^4.17.15",
"netlify-lambda": "^1.6.3",
"patch-package": "^6.2.2",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.7.0",
"preact-cli": "^3.0.0-rc.2",
"preact-render-to-string": "^4.1.0",
"prettier": "^1.18.2",
"serve": "^11.3.0"
},
"engines": {
"node": "^8.0.0"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"react-app",
"plugin:import/recommended",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended"
],
"settings": {
"react": {
"pragma": "h",
"version": "999.999.999"
}
},
"rules": {
"jsx-a11y/media-has-caption": 0,
"jsx-a11y/no-onchange": 0,
"react/no-deprecated": 0
}
},
"eslintIgnore": [
"build/*",
"functions/",
"functions-build/*"
],
"homepage": "https://face.camp/",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"license": "MIT",
"lint-staged": {
"*.{json,css,md,html}": [
"prettier --write",
"git add"
],
"*.js": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"main": "scripts/config.js",
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "always"
},
"private": true,
"scripts": {
"build": "npm run build:functions && npm run build:client",
"build:client": "preact build --no-prerender --inline-css false --esm true --config scripts/config.js",
"build:functions": "netlify-lambda build functions",
"build:size": "find build -type f -name '*.js' -exec printf '%s - ' {} \\; -exec gzip-size --raw {} \\; | sort",
"build:sizes": "node scripts/build-sizes",
"eslint": "eslint --fix .",
"eslint:ci": "eslint .",
"lint": "npm run prettier && npm run eslint",
"lint:ci": "npm run prettier:ci && npm run eslint:ci",
"postinstall": "patch-package && netlify-lambda install functions",
"prebuild": "npm run postinstall",
"prebuild//": "Mirror postinstall to prebuild for now since netlify doesnt run postinstall when installing from cache https://github.com/netlify/netlify-lambda/issues/227",
"prettier": "prettier --write '**/*.{js,md,css,json}'",
"prettier:ci": "prettier --list-different '**/*.{js,md,css,json}'",
"start": "preact watch --host localhost --esm true --config scripts/config.js",
"start:functions": "netlify-lambda serve functions",
"test": "echo 'FIX_ME' && exit 0",
"test:site": "npm run build >& /dev/null && if [ ! -f ./build/index.html ]; then echo 'Build failed'; exit 1; fi"
}
}