forked from lit/lit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.38 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
{
"name": "lit-html",
"version": "1.3.0-pre.1",
"description": "HTML template literals in JavaScript",
"license": "BSD-3-Clause",
"homepage": "https://lit-html.polymer-project.org/",
"repository": "Polymer/lit-html",
"type": "module",
"main": "lit-html.js",
"module": "lit-html.js",
"typings": "lit-html.d.ts",
"typesVersions": {
"<3.8": {
"*": [
"ts3.4/*"
]
}
},
"directories": {
"test": "test"
},
"files": [
"/lit-html.js",
"/lit-html.js.map",
"/lit-html.d.ts",
"/lit-html.d.ts.map",
"/lib/",
"/directives/",
"/polyfills",
"/src/",
"/ts3.4/",
"!/src/test/"
],
"scripts": {
"build": "tsc && downlevel-dts . ts3.4 && cp tsconfig.json ./ts3.4/",
"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.cjs && 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": "^7.0.1",
"@types/trusted-types": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"@webcomponents/shadycss": "^1.8.0",
"@webcomponents/webcomponentsjs": "^2.4.2",
"chai": "^4.1.2",
"clang-format": "~1.2.4",
"downlevel-dts": "^0.4.0",
"eslint": "^6.8.0",
"husky": "^4.2.0",
"lint-staged": "^10.1.0",
"lit-html-benchmarks": "^0.2.1",
"mocha": "^7.0.1",
"rollup": "^1.19.0",
"rollup-plugin-filesize": "^6.2.0",
"rollup-plugin-terser": "^5.2.0",
"tachometer": "^0.4.15",
"typescript": "~3.8.0",
"uglify-es": "^3.3.5",
"wct-mocha": "^1.1.0",
"web-component-tester": "^6.9.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint --fix"
]
}
}