зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1799207 - Part 1: Fix installing lit on Windows r=hjones
Differential Revision: https://phabricator.services.mozilla.com/D161341
This commit is contained in:
Родитель
911bb35d67
Коммит
0fc1fc6ebf
|
@ -12,7 +12,8 @@
|
|||
"lit": "^2.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.15.10"
|
||||
"esbuild": "^0.15.10",
|
||||
"mkdirp": "^1.0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@lit/reactive-element": {
|
||||
|
@ -104,6 +105,18 @@
|
|||
"dependencies": {
|
||||
"@types/trusted-types": "^2.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/mkdirp": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
||||
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"mkdirp": "bin/cmd.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -180,6 +193,12 @@
|
|||
"requires": {
|
||||
"@types/trusted-types": "^2.0.2"
|
||||
}
|
||||
},
|
||||
"mkdirp": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
||||
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
"scripts": {
|
||||
"build": "esbuild index.mjs --bundle --outfile=lit.all.mjs --format=esm --legal-comments=inline",
|
||||
"patch": "patch lit.all.mjs lit-html-no-inner-html.patch",
|
||||
"mv-dest": "mkdir -p ../../widgets/vendor && mv lit.all.mjs ../../widgets/vendor/lit.all.mjs",
|
||||
"vendor": "npm install && npm run build && npm run patch && npm run mv-dest",
|
||||
"mv-dest": "mkdirp ../../widgets/vendor && mv lit.all.mjs ../../widgets/vendor/lit.all.mjs",
|
||||
"vendor": "npm ci && npm run build && npm run patch && npm run mv-dest",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
|
@ -16,6 +16,7 @@
|
|||
"lit": "^2.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.15.10"
|
||||
"esbuild": "^0.15.10",
|
||||
"mkdirp": "^1.0.4"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче