Skip to content

Commit 7be255c

Browse files
authored
Merge pull request #26 from maicol07/auto-update-docs
2 parents d4818d8 + b50cfce commit 7be255c

File tree

1 file changed

+10
-43
lines changed

1 file changed

+10
-43
lines changed

package.json

Lines changed: 10 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,12 @@
7979
},
8080
"pnpm": {
8181
"peerDependencyRules": {
82-
"ignoreMissing": [
83-
"css-loader",
84-
"sass-loader",
85-
"style-loader"
86-
]
82+
"ignoreMissing": ["css-loader", "sass-loader", "style-loader"]
8783
}
8884
},
8985
"wireit": {
9086
"build": {
91-
"dependencies": [
92-
"build:ts",
93-
"update-docs"
94-
]
87+
"dependencies": ["build:ts", "update-docs"]
9588
},
9689
"build:ts": {
9790
"command": "tsc --pretty",
@@ -116,45 +109,21 @@
116109
"!scripts/"
117110
],
118111
"clean": "if-file-deleted",
119-
"dependencies": [
120-
"build:css-to-ts"
121-
]
112+
"dependencies": ["build:css-to-ts"]
122113
},
123114
"build:css-to-ts": {
124115
"command": "find . \\( -path ./.wireit -o -path ./node_modules -o -path ./catalog \\) -prune -o -name '*.css' -print | xargs node css-to-ts.js",
125-
"files": [
126-
"css-to-ts.js",
127-
"!scripts/",
128-
"!node_modules"
129-
],
130-
"output": [
131-
"**/*.css.ts",
132-
"!catalog",
133-
"!scripts/"
134-
],
135-
"dependencies": [
136-
"build:sass"
137-
]
116+
"files": ["css-to-ts.js", "!scripts/", "!node_modules"],
117+
"output": ["**/*.css.ts", "!catalog", "!scripts/"],
118+
"dependencies": ["build:sass"]
138119
},
139120
"build:sass": {
140121
"command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -vE 'node_modules|catalog')",
141-
"files": [
142-
"**/*.scss",
143-
"!catalog",
144-
"!scripts/",
145-
"!node_modules"
146-
],
147-
"output": [
148-
"**/*.css",
149-
"**/*.css.map",
150-
"!catalog",
151-
"!scripts/"
152-
]
122+
"files": ["**/*.scss", "!catalog", "!scripts/", "!node_modules"],
123+
"output": ["**/*.css", "**/*.css.map", "!catalog", "!scripts/"]
153124
},
154125
"build:catalog": {
155-
"dependencies": [
156-
"./catalog:build:prod"
157-
]
126+
"dependencies": ["./catalog:build:prod"]
158127
},
159128
"build:analyzer": {
160129
"command": "tsc -b scripts/tsconfig.json --pretty",
@@ -185,9 +154,7 @@
185154
"!node_modules"
186155
],
187156
"output": [],
188-
"dependencies": [
189-
"build:analyzer"
190-
]
157+
"dependencies": ["build:analyzer"]
191158
}
192159
},
193160
"web-types": "./web-types.json"

0 commit comments

Comments
 (0)