-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
67 lines (67 loc) · 1.64 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
{
"name": "@luwes/little-vdom",
"version": "0.3.4",
"description": "Fork from developit/little-vdom",
"type": "module",
"main": "dist/little-vdom.js",
"scripts": {
"lint": "eslint '*.{js,jsx}'",
"build": "npm run minify && npm run size",
"minify": "terser little-vdom.js -c -m toplevel=true --mangle-props regex=/^_/ -o dist/little-vdom.js",
"size": "echo \"gzip: $(cat dist/little-vdom.js | gzip -c9 | wc -c)\" && echo \"brotli: $(cat dist/little-vdom.js | brotli | wc -c)\" && echo ''",
"test": "web-test-runner **/*test.jsx --config test/web-test-runner.config.js",
"test:watch": "npm run test -- --watch"
},
"license": "MIT",
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@web/dev-server": "^0.1.29",
"@web/dev-server-esbuild": "^0.2.16",
"@web/test-runner": "^0.13.25",
"eslint": "^8.7.0",
"eslint-plugin-react": "^7.28.0",
"prettier": "^2.5.1",
"terser": "^5.10.0"
},
"prettier": {
"tabWidth": 2,
"singleQuote": true,
"semi": true
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"pragma": "h"
}
},
"rules": {
"no-shadow": "error",
"react/prop-types": 0,
"react/no-unknown-property": [
2,
{
"ignore": [
"class"
]
}
]
}
}
}