mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
Package
This commit is contained in:
parent
410b3d261f
commit
7f77b8f069
@ -3,11 +3,12 @@
|
|||||||
"version": "1.3.21",
|
"version": "1.3.21",
|
||||||
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
|
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
"module": "dist/esm/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"rxjs": "^5.0.0-beta.6"
|
"@reactivex/rxjs": "^5.0.0-beta.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browserify": "^13.0.1",
|
"browserify": "^13.0.1",
|
||||||
@ -41,7 +42,7 @@
|
|||||||
"tsify": "~1.0.4",
|
"tsify": "~1.0.4",
|
||||||
"tslint": "^3.8.1",
|
"tslint": "^3.8.1",
|
||||||
"tslint-ionic-rules": "0.0.5",
|
"tslint-ionic-rules": "0.0.5",
|
||||||
"typescript": "^1.8.10",
|
"typescript": "^2.0.2",
|
||||||
"watchify": "~3.7.0"
|
"watchify": "~3.7.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -50,8 +51,9 @@
|
|||||||
"start": "npm run test:watch",
|
"start": "npm run test:watch",
|
||||||
"lint": "./node_modules/.bin/gulp lint",
|
"lint": "./node_modules/.bin/gulp lint",
|
||||||
"watch": "./node_modules/.bin/tsc -w",
|
"watch": "./node_modules/.bin/tsc -w",
|
||||||
"build": "npm run lint && npm run build:js && npm run build:bundle && npm run build:minify",
|
"build": "npm run lint && npm run build:js && npm run build:esm && npm run build:bundle && npm run build:minify",
|
||||||
"build:js": "./node_modules/.bin/tsc",
|
"build:js": "./node_modules/.bin/tsc",
|
||||||
|
"build:esm": "./node_modules/.bin/tsc -p ./tsconfig-esm.json",
|
||||||
"build:bundle": "./node_modules/.bin/browserify dist/index.js > dist/ionic.native.js",
|
"build:bundle": "./node_modules/.bin/browserify dist/index.js > dist/ionic.native.js",
|
||||||
"build:minify": "./node_modules/.bin/gulp minify:dist",
|
"build:minify": "./node_modules/.bin/gulp minify:dist",
|
||||||
"changelog": "./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
"changelog": "./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
||||||
|
15
tsconfig-esm.json
Normal file
15
tsconfig-esm.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "es2015",
|
||||||
|
"target": "ES5",
|
||||||
|
"sourceMap": true,
|
||||||
|
"declaration": true,
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"outDir": "dist/esm",
|
||||||
|
"moduleResolution": "node"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"typings/es6-shim/es6-shim.d.ts",
|
||||||
|
"src/index.ts"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user