-
-
Notifications
You must be signed in to change notification settings - Fork 522
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) Β· 3.03 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) Β· 3.03 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
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
{
"name": "preact-www",
"version": "0.3.0",
"description": "Preact website.",
"engines": {
"node": ">=12"
},
"repository": {
"type": "git",
"url": "https://github.com/preactjs/preact-www.git"
},
"scripts": {
"dev": "wmr start",
"start": "npm run -s server2",
"prestart": "npm run -s build",
"server": "wmr serve --out './build'",
"build": "netlify-lambda build src/lambda && wmr build --out './build'",
"pretest": "npm run -s lint && npm run -s build",
"test": "cross-env JEST_PUPPETEER_CONFIG=test/jest-puppeteer.config.js jest --runInBand --no-coverage test/browser/.*\\.js",
"lint": "eslint src test",
"format": "prettier --write \"{src,test}/**/*.{less,js,json}\""
},
"keywords": [
"preact"
],
"eslintConfig": {
"extends": "developit",
"rules": {
"react/sort-comp": 0,
"react/no-danger": 0,
"brace-style": 0,
"indent": 0,
"lines-around-comment": 0,
"no-prototype-builtins": 0
},
"globals": {
"PRERENDER": true,
"__non_webpack_require__": true,
"ga": true,
"page": true
},
"settings": {
"react": {
"version": "16.8"
}
}
},
"eslintIgnore": [
"prism.js"
],
"jest": {
"preset": "jest-puppeteer"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"useTabs": true,
"tabWidth": 2
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test}/**/*.{less,js,json}": [
"prettier --write"
]
},
"license": "MIT",
"author": "Preact Authors <core@preactjs.com>",
"devDependencies": {
"@babel/polyfill": "^7.7.0",
"cross-env": "^7.0.3",
"dlv": "^1.1.3",
"encoding": "^0.1.13",
"eslint": "^6.8.0",
"eslint-config-developit": "^1.1.1",
"glob": "^7.1.6",
"husky": "^7.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-puppeteer": "^4.4.0",
"jsdom": "^15.2.1",
"less": "^4.1.1",
"lint-staged": "^11.1.2",
"netlify-lambda": "^2.0.14",
"per-env": "^1.0.2",
"prettier": "^1.19.1",
"puppeteer": "^2.0.0",
"rimraf": "^3.0.2",
"size-plugin": "^2.0.1",
"wmr": "^3.7.1"
},
"dependencies": {
"@codemirror/basic-setup": "^0.19.0",
"@codemirror/commands": "^0.19.2",
"@codemirror/gutter": "^0.19.1",
"@codemirror/highlight": "^0.19.4",
"@codemirror/history": "^0.19.0",
"@codemirror/lang-html": "^0.19.1",
"@codemirror/lang-javascript": "^0.19.1",
"@codemirror/state": "^0.19.1",
"@codemirror/view": "^0.19.4",
"babel-plugin-transform-jsx-to-htm": "^2.2.0",
"babel-standalone": "^6.26.0",
"comlink": "^4.3.1",
"escorn": "^0.5.1",
"hoofd": "^1.4.0",
"htm": "^2.2.1",
"linkstate": "^1.1.1",
"marked": "^0.8.0",
"node-fetch": "^2.6.1",
"preact": "^10.4.4",
"preact-custom-element": "^4.0.0",
"preact-iso": "^2.2.0",
"preact-markup": "^2.0.0",
"preact-render-to-string": "^5.1.9",
"sucrase": "^3.20.1",
"yaml": "^1.7.2"
}
}