-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.18 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
{
"name": "lit-html",
"version": "1.1.2",
"description": "HTML template literals in JavaScript",
"license": "BSD-3-Clause",
"homepage": "https://lit-html.polymer-project.org/",
"repository": "Polymer/lit-html",
"main": "lit-html.js",
"module": "lit-html.js",
"typings": "lit-html.d.ts",
"directories": {
"test": "test"
},
"files": [
"/lit-html.js",
"/lit-html.js.map",
"/lit-html.d.ts",
"/lit-html.d.ts.map",
"/lib/",
"/directives/",
"/polyfills",
"/src/",
"!/src/test/"
],
"scripts": {
"build": "tsc",
"checksize": "rollup -c ; cat lit-html.bundled.js | gzip -9 | wc -c ; rm lit-html.bundled.js",
"test": "npm run build && npm run lint && wct --npm",
"quicktest": "wct -l chrome -p --npm",
"format": "clang-format --version; find src test | grep '\\.js$\\|\\.ts$' | xargs clang-format --style=file -i",
"lint": "npm run lint:eslint",
"lint:eslint": "eslint 'src/**/*.{js,ts}'",
"prepublishOnly": "node check-version-tracker.js && npm run lint && npm test",
"prepare": "npm run build",
"publish-dev": "npm test && VERSION=${npm_package_version%-*}-dev.`git rev-parse --short HEAD` && npm version --no-git-tag-version $VERSION && npm publish --tag dev"
},
"author": "The Polymer Authors",
"dependencies": {},
"devDependencies": {
"@types/chai": "^4.1.0",
"@types/mocha": "^5.2.0",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"@types/trusted-types": "^1.0.1",
"@webcomponents/shadycss": "^1.8.0",
"@webcomponents/webcomponentsjs": "^2.0.4",
"chai": "^4.1.2",
"clang-format": "^1.2.4",
"eslint": "^6.7.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"lit-html-benchmarks": "^0.2.1",
"mocha": "^5.2.0",
"rollup": "^1.19.0",
"rollup-plugin-filesize": "^6.2.0",
"rollup-plugin-terser": "^5.1.0",
"tachometer": "^0.4.15",
"typescript": "^3.4.1",
"uglify-es": "^3.3.5",
"wct-mocha": "^1.0.0",
"web-component-tester": "^6.9.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,ts}": [
"eslint --fix",
"git add"
]
}
}