forked from material-components/material-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 2.74 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
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
123
124
125
126
127
{
"name": "@material/web",
"version": "1.0.0-pre.9",
"publishConfig": {
"access": "public"
},
"description": "Material web components",
"repository": {
"type": "git",
"url": "git+https://github.com/material-components/material-web.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/material-components/material-web/issues"
},
"homepage": "https://github.com/material-components/material-web#readme",
"scripts": {
"build": "wireit",
"build:ts": "wireit",
"build:css-to-ts": "wireit",
"build:sass": "wireit",
"test": "wireit",
"build:catalog": "wireit"
},
"type": "module",
"files": [
"**/*.js",
"**/*.js.map",
"**/*.d.ts",
"**/*.scss",
"!css-to-ts.js",
"!web-test-runner.config.js",
"!**/test/**",
"!**/testing/**",
"!**/*_test.*",
"!.wireit/**"
],
"workspaces": [
".",
"catalog"
],
"dependencies": {
"lit": "^2.7.4",
"safevalues": "^0.4.3",
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/jasmine": "^4.0.3",
"@web/test-runner": "^0.15.0",
"@web/test-runner-playwright": "^0.9.0",
"jasmine": "^4.5.0",
"sass": "^1.52.3",
"sass-true": "^6.1.0",
"typescript": "4.9.4",
"web-test-runner-jasmine": "^0.0.2",
"wireit": "^0.9.0"
},
"wireit": {
"build": {
"dependencies": [
"build:ts"
]
},
"build:ts": {
"command": "tsc --pretty",
"files": [
"tsconfig.json",
"**/*.ts",
"!**/*.d.ts",
"!**/*.css.ts",
"!catalog"
],
"output": [
".tsbuildinfo",
"**/*.js",
"**/*.js.map",
"**/*.d.ts",
"!*.js",
"!types/",
"!catalog"
],
"clean": "if-file-deleted",
"dependencies": [
"build:css-to-ts"
]
},
"build:css-to-ts": {
"command": "find . \\( -path ./.wireit -o -path ./node_modules -o -path ./catalog \\) -prune -o -name '*.css' -print | xargs node css-to-ts.js",
"files": [
"css-to-ts.js"
],
"output": [
"**/*.css.ts",
"!catalog"
],
"dependencies": [
"build:sass"
]
},
"build:sass": {
"command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -v node_modules)",
"files": [
"**/*.scss"
],
"output": [
"**/*.css",
"**/*.css.map",
"!catalog"
]
},
"test": {
"command": "wtr",
"dependencies": [
"build:ts"
],
"files": [
"web-test-runner.config.js"
],
"output": []
},
"build:catalog": {
"dependencies": [
"./catalog:build:prod"
]
}
}
}