Upgrade ng2-alfresco-login

This commit is contained in:
Denys Vuika 2016-09-19 14:13:59 +01:00
parent 49b9c8eeae
commit f40381c20d
7 changed files with 15 additions and 35 deletions

View File

@ -5,9 +5,8 @@
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"clean": "rimraf dist node_modules typings", "clean": "rimraf dist node_modules",
"typings": "typings install", "postinstall": "npm run build",
"postinstall": "npm run typings && npm run build",
"start": "npm run build && concurrently \"npm run tsc:w\" \"npm run server\" ", "start": "npm run build && concurrently \"npm run tsc:w\" \"npm run server\" ",
"server": "wsrv -o -s -l", "server": "wsrv -o -s -l",
"build": "npm run tslint && rimraf dist && tsc", "build": "npm run tslint && rimraf dist && tsc",
@ -71,11 +70,12 @@
"ng2-alfresco-login": "file:../" "ng2-alfresco-login": "file:../"
}, },
"devDependencies": { "devDependencies": {
"concurrently": "^2.0.0", "@types/core-js": "^0.9.32",
"@types/jasmine": "^2.2.33",
"concurrently": "^2.2.0",
"rimraf": "2.5.2", "rimraf": "2.5.2",
"tslint": "^3.8.1", "tslint": "^3.8.1",
"typescript": "^1.8.10", "typescript": "^2.0.2",
"typings": "^1.0.4", "wsrv": "^0.1.5",
"wsrv": "0.1.3"
} }
} }

View File

@ -12,8 +12,6 @@
}, },
"exclude": [ "exclude": [
"dist", "dist",
"node_modules", "node_modules"
"typings/main",
"typings/main.d.ts"
] ]
} }

View File

@ -1,7 +0,0 @@
{
"globalDependencies": {
"core-js": "registry:dt/core-js#0.0.0+20160317120654",
"jasmine": "registry:dt/jasmine#2.2.0+20160505161446",
"node": "registry:dt/node#4.0.0+20160509154515"
}
}

View File

@ -69,7 +69,7 @@ module.exports = function (config) {
], ],
// Coverage reporter generates the coverage // Coverage reporter generates the coverage
reporters: ['mocha', 'coverage', 'coveralls', 'kjhtml'], reporters: ['mocha', 'coverage', 'kjhtml'],
// Source files that you wanna generate coverage for. // Source files that you wanna generate coverage for.
// Do not include tests or libraries (these files will be instrumented by Istanbul) // Do not include tests or libraries (these files will be instrumented by Istanbul)

View File

@ -4,9 +4,7 @@
"version": "0.3.2", "version": "0.3.2",
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"scripts": { "scripts": {
"postinstall": "typings install", "clean": "rimraf dist node_modules",
"clean": "rimraf dist node_modules typings",
"typings": "typings install",
"build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check", "build": "npm run tslint && rimraf dist && tsc && npm run copy-dist && license-check",
"build:w": "npm run tslint && rimraf dist && npm run watch-task", "build:w": "npm run tslint && rimraf dist && npm run watch-task",
"watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"", "watch-task": "concurrently \"npm run tsc:w\" \"npm run copy-dist:w\" \"license-check\"",
@ -79,13 +77,14 @@
"coveralls": "^2.11.9" "coveralls": "^2.11.9"
}, },
"devDependencies": { "devDependencies": {
"concurrently": "2.1.0", "@types/core-js": "^0.9.32",
"@types/jasmine": "^2.2.33",
"concurrently": "^2.2.0",
"cpx": "1.3.1", "cpx": "1.3.1",
"jasmine-core": "2.4.1", "jasmine-core": "2.4.1",
"karma": "0.13.22", "karma": "0.13.22",
"karma-chrome-launcher": "1.0.1", "karma-chrome-launcher": "1.0.1",
"karma-coverage": "1.0.0", "karma-coverage": "1.0.0",
"karma-coveralls": "1.1.2",
"karma-jasmine": "1.0.2", "karma-jasmine": "1.0.2",
"karma-mocha-reporter": "2.0.3", "karma-mocha-reporter": "2.0.3",
"karma-jasmine-html-reporter": "0.2.0", "karma-jasmine-html-reporter": "0.2.0",
@ -94,9 +93,8 @@
"rimraf": "2.5.2", "rimraf": "2.5.2",
"traceur": "0.0.91", "traceur": "0.0.91",
"tslint": "3.8.1", "tslint": "3.8.1",
"typescript": "1.8.10", "typescript": "^2.0.2",
"typings": "1.0.4", "wsrv": "^0.1.5",
"wsrv": "0.1.3",
"xo": "0.14.0", "xo": "0.14.0",
"yargs": "4.7.0" "yargs": "4.7.0"
}, },

View File

@ -20,8 +20,6 @@
"exclude": [ "exclude": [
"demo", "demo",
"node_modules", "node_modules",
"typings/main",
"typings/main.d.ts",
"dist" "dist"
] ]
} }

View File

@ -1,7 +0,0 @@
{
"globalDependencies": {
"core-js": "registry:dt/core-js#0.0.0+20160317120654",
"jasmine": "registry:dt/jasmine#2.2.0+20160505161446",
"node": "registry:dt/node#4.0.0+20160509154515"
}
}