This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
93 lines (93 loc) · 2.77 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
{
"name": "@popeindustries/lit-html-server",
"version": "3.1.0",
"description": "Render lit-html templates on the server",
"author": "Alexander Pope <alex@pope-industries.com>",
"keywords": [
"html template",
"lit-html",
"ssr",
"stream",
"streaming",
"tagged template literal",
"template",
"template render"
],
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"browser": {
"buffer": "./src/browser-buffer.js",
"stream": "./src/browser-stream.js",
"./index.js": "./browser.mjs",
"./index.mjs": "./browser.mjs",
"./directives/async-append.js": "./directives/async-append.mjs",
"./directives/async-replace.js": "./directives/async-replace.mjs",
"./directives/cache.js": "./directives/cache.mjs",
"./directives/class-map.js": "./directives/class-map.mjs",
"./directives/guard.js": "./directives/guard.mjs",
"./directives/if-defined.js": "./directives/if-defined.mjs",
"./directives/repeat.js": "./directives/repeat.mjs",
"./directives/style-map.js": "./directives/style-map.mjs",
"./directives/unsafe-html.js": "./directives/unsafe-html.mjs",
"./directives/until.js": "./directives/until.mjs"
},
"repository": "https://github.com/popeindustries/lit-html-server.git",
"license": "MIT",
"engines": {
"node": ">=10"
},
"dependencies": {},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@types/node": "^13.11.1",
"autocannon": "^4.6.0",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.3",
"get-stream": "^5.1.0",
"husky": "^4.2.5",
"lint-staged": "^10.1.3",
"lit-html": "^1.2.1",
"mocha": "^7.1.1",
"prettier": "^2.0.4",
"puppeteer": "^2.1.1",
"rollup": "^2.6.1",
"send": "^0.17.1",
"typescript": "^3.8.3"
},
"scripts": {
"build": "node ./scripts/build.js",
"format": "prettier --write './{src,test}/**/*.{js,json}'",
"lint": "npm run typecheck && eslint './{src,test}/**/*.js'",
"perf": "node test/perf.js",
"prepublishOnly": "npm run build",
"test": "npm run build && npm run lint && npm run test:unit && npm run test:browser",
"test:unit": "NODE_ENV=test mocha \"test/*-test.js\" --reporter spec --bail --timeout 2000",
"test:browser": "node ./test/browser/cli.js",
"typecheck": "tsc --noEmit"
},
"prettier": {
"arrowParens": "always",
"htmlWhitespaceSensitivity": "ignore",
"printWidth": 100,
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint"
],
"*.json": [
"prettier --write"
]
}
}