Коммит
a4e64fcab7
|
@ -1,4 +1,5 @@
|
|||
!dist/lib/**/*.js
|
||||
!es/lib/**/*.js
|
||||
!typings/lib/**/*.d.ts
|
||||
.vscode/
|
||||
.idea/
|
||||
|
|
|
@ -2826,9 +2826,9 @@
|
|||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
|
||||
},
|
||||
"ms-rest-js": {
|
||||
"version": "0.9.248",
|
||||
"resolved": "https://registry.npmjs.org/ms-rest-js/-/ms-rest-js-0.9.248.tgz",
|
||||
"integrity": "sha1-z6eyGxDyoTPDWR8tqWlbT5NoOEM=",
|
||||
"version": "0.9.250",
|
||||
"resolved": "https://registry.npmjs.org/ms-rest-js/-/ms-rest-js-0.9.250.tgz",
|
||||
"integrity": "sha1-bgV+ckMIvGp6I4wXkugbJcRaRWw=",
|
||||
"requires": {
|
||||
"@types/express": "^4.11.1",
|
||||
"@types/form-data": "^2.2.1",
|
||||
|
@ -3064,9 +3064,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"p-limit": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.2.0.tgz",
|
||||
"integrity": "sha512-Y/OtIaXtUPr4/YpMv1pCL5L5ed0rumAaAeBSj12F+bSlMdys7i8oQF/GUJmfpTS/QoaRrS/k6pma29haJpsMng==",
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
|
||||
"integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"p-try": "^1.0.0"
|
||||
|
|
|
@ -26,10 +26,11 @@
|
|||
"clientruntime"
|
||||
],
|
||||
"main": "./dist/lib/msRestAzure.js",
|
||||
"browser": "./es/lib/msRestAzure.js",
|
||||
"types": "./typings/lib/msRestAzure.d.ts",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ms-rest-js": "~0.9.248"
|
||||
"ms-rest-js": "~0.9.250"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^5.2.1",
|
||||
|
@ -55,8 +56,9 @@
|
|||
"url": "http://github.com/Azure/ms-rest-azure-js/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "run-p build:node build:browser",
|
||||
"build": "run-p build:node build:es build:browser",
|
||||
"build:node": "tsc",
|
||||
"build:es": "tsc -p tsconfig.es.json",
|
||||
"build:browser": "webpack && node node_modules/uglify-es/bin/uglifyjs --source-map -c -m -o msRestAzureBundle.min.js msRestAzureBundle.js",
|
||||
"watch:node": "tsc -w",
|
||||
"watch:browser": "webpack -w",
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "es6",
|
||||
"outDir": "es"
|
||||
}
|
||||
}
|
|
@ -18,12 +18,13 @@ module.exports = {
|
|||
{
|
||||
test: /\.tsx?$/,
|
||||
loader: 'ts-loader',
|
||||
exclude: /(node_modules|test)/
|
||||
exclude: /(node_modules|test)/,
|
||||
options: { configFile: path.join(__dirname, './tsconfig.es.json') }
|
||||
}
|
||||
]
|
||||
},
|
||||
// ms-rest-js is a dependency of this project. Customer is expected to manually import/include
|
||||
// this for browser javascript in a script tag. More info over here
|
||||
// ms-rest-js is a dependency of this project. Customer is expected to manually import/include
|
||||
// this for browser javascript in a script tag. More info over here
|
||||
// https://webpack.js.org/configuration/externals/ and https://webpack.js.org/guides/author-libraries/#add-externals.
|
||||
externals: {
|
||||
"ms-rest-js": "msRest"
|
||||
|
|
Загрузка…
Ссылка в новой задаче