|
1 | 1 | { |
2 | 2 | "name": "ng2-restangular", |
3 | | - "version": "0.1.4", |
| 3 | + "version": "0.1.5", |
4 | 4 | "description": "ng2-restangular", |
| 5 | + "main": "./dist/umd/ng2-restangular.js", |
| 6 | + "module": "./dist/esm/src/index.js", |
| 7 | + "typings": "./dist/esm/src/index.d.ts", |
5 | 8 | "scripts": { |
6 | | - "prepublish": "tsc", |
7 | | - "start": "tsc && concurrently \"tsc -w\" \"lite-server\" ", |
8 | | - "pree2e": "npm run webdriver:update", |
9 | | - "e2e": "tsc && concurrently \"http-server -s\" \"protractor protractor.config.js\" --kill-others --success first", |
10 | | - "lint": "tslint ./app/**/*.ts -t verbose", |
11 | | - "lite": "lite-server", |
12 | | - "test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"", |
13 | | - "test-once": "tsc && karma start karma.conf.js --single-run", |
14 | | - "tsc": "tsc", |
15 | | - "tsc:w": "tsc -w", |
16 | | - "webdriver:update": "webdriver-manager update" |
| 9 | + "start": "concurrently --raw \"webpack-dev-server --open\" \"npm run test:watch\"", |
| 10 | + "build:demo": "webpack -p", |
| 11 | + "build:umd": "webpack --config webpack.config.umd.js", |
| 12 | + "build:ngc": "ngc -p tsconfig-ngc.json", |
| 13 | + "build:dist": "npm run build:umd && npm run build:ngc", |
| 14 | + "build:clean": "rm -rf dist", |
| 15 | + "test": "karma start", |
| 16 | + "test:watch": "karma start --watch", |
| 17 | + "commit": "git-cz", |
| 18 | + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", |
| 19 | + "typedoc": "typedoc --options typedoc.json src/*.ts", |
| 20 | + "gh-pages": "git checkout gh-pages && git merge master && npm run build:demo && npm run typedoc && git add . && git commit -m 'chore: build demo and docs' && git push && git checkout master", |
| 21 | + "prepublish": "standard-version --first-release && git push --follow-tags origin master && npm run build:dist", |
| 22 | + "postpublish": "npm run build:clean" |
17 | 23 | }, |
18 | 24 | "repository": { |
19 | 25 | "type": "git", |
|
29 | 35 | "angular 2 rest" |
30 | 36 | ], |
31 | 37 | "author": "logvinoleg89 <logvinoleg89@gmail.com>", |
| 38 | + "license": "MIT", |
32 | 39 | "bugs": { |
33 | 40 | "url": "https://github.com/2muchcoffeecom/ng2-restangular/issues" |
34 | 41 | }, |
35 | 42 | "homepage": "https://github.com/2muchcoffeecom/ng2-restangular#readme", |
36 | | - "dependencies": { |
37 | | - "lodash": "^4.16.4" |
38 | | - }, |
39 | 43 | "devDependencies": { |
40 | | - "@types/lodash": "^4.14.37", |
41 | | - "typings": "^1.3.3", |
42 | | - |
43 | 44 | "@angular/common": "~2.1.2", |
44 | 45 | "@angular/compiler": "~2.1.2", |
| 46 | + "@angular/compiler-cli": "~2.1.2", |
45 | 47 | "@angular/core": "~2.1.2", |
46 | | - "@angular/forms": "~2.1.2", |
47 | | - "@angular/http": "~2.1.2", |
| 48 | + "@angular/http": "^2.1.2", |
48 | 49 | "@angular/platform-browser": "~2.1.2", |
49 | 50 | "@angular/platform-browser-dynamic": "~2.1.2", |
50 | | - "@angular/router": "~3.1.2", |
51 | | - "@angular/upgrade": "~2.1.2", |
52 | | - |
53 | | - "angular-in-memory-web-api": "~0.1.13", |
54 | | - "systemjs": "0.19.40", |
55 | | - "core-js": "^2.4.1", |
56 | | - "reflect-metadata": "^0.1.8", |
| 51 | + "@types/chai": "~3.4.33", |
| 52 | + "@types/core-js": "~0.9.34", |
| 53 | + "@types/jasmine": "~2.5.36", |
| 54 | + "@types/sinon": "~1.16.30", |
| 55 | + "@types/sinon-chai": "~2.7.27", |
| 56 | + "chai": "~3.5.0", |
| 57 | + "commitizen": "~2.8.1", |
| 58 | + "concurrently": "~3.1.0", |
| 59 | + "conventional-changelog": "~1.1.0", |
| 60 | + "conventional-changelog-cli": "~1.2.0", |
| 61 | + "core-js": "~2.4.1", |
| 62 | + "cz-conventional-changelog": "~1.2.0", |
| 63 | + "ghooks": "~1.3.2", |
| 64 | + "imports-loader": "~0.6.5", |
| 65 | + "jasmine-core": "~2.5.0", |
| 66 | + "karma": "~1.3.0", |
| 67 | + "karma-coverage": "~1.1.0", |
| 68 | + "karma-jasmine": "~1.0.2", |
| 69 | + "karma-phantomjs-launcher": "~1.0.0", |
| 70 | + "karma-remap-istanbul": "~0.2.1", |
| 71 | + "karma-sourcemap-loader": "~0.3.7", |
| 72 | + "karma-webpack": "~1.8.0", |
| 73 | + "lodash": "^4.16.6", |
| 74 | + "phantomjs-prebuilt": "~2.1.7", |
57 | 75 | "rxjs": "5.0.0-beta.12", |
58 | | - "zone.js": "^0.6.26", |
59 | | - |
60 | | - "concurrently": "^3.1.0", |
61 | | - "lite-server": "^2.2.2", |
62 | | - "typescript": "^2.0.3", |
63 | | - |
64 | | - "canonical-path": "0.0.2", |
65 | | - "http-server": "^0.9.0", |
66 | | - "tslint": "^3.15.1", |
67 | | - "lodash": "^4.16.4", |
68 | | - "jasmine-core": "~2.4.1", |
69 | | - "karma": "^1.3.0", |
70 | | - "karma-chrome-launcher": "^2.0.0", |
71 | | - "karma-cli": "^1.0.1", |
72 | | - "karma-htmlfile-reporter": "^0.3.4", |
73 | | - "karma-jasmine": "^1.0.2", |
74 | | - "karma-jasmine-html-reporter": "^0.2.2", |
75 | | - "protractor": "4.0.9", |
76 | | - "webdriver-manager": "10.2.5", |
77 | | - "rimraf": "^2.5.4", |
78 | | - |
79 | | - "@types/core-js": "^0.9.34", |
80 | | - "@types/node": "^6.0.46", |
81 | | - "@types/jasmine": "^2.5.36", |
82 | | - "@types/selenium-webdriver": "^2.53.33" |
| 76 | + "sinon": "~1.17.4", |
| 77 | + "sinon-chai": "~2.8.0", |
| 78 | + "sourcemap-istanbul-instrumenter-loader": "~0.2.0", |
| 79 | + "standard-version": "~3.0.0", |
| 80 | + "ts-loader": "~0.9.5", |
| 81 | + "tslint": "~3.15.1", |
| 82 | + "tslint-loader": "~2.1.4", |
| 83 | + "typedoc": "~0.5.1", |
| 84 | + "typescript": "~2.0.3", |
| 85 | + "validate-commit-msg": "~2.8.0", |
| 86 | + "webpack": "~1.13.0", |
| 87 | + "webpack-dev-server": "~1.16.1", |
| 88 | + "zone.js": "~0.6.12" |
| 89 | + }, |
| 90 | + "peerDependencies": { |
| 91 | + "@angular/core": "^2.0.0", |
| 92 | + "lodash": "^4.16.6" |
| 93 | + }, |
| 94 | + "files": [ |
| 95 | + "dist" |
| 96 | + ], |
| 97 | + "config": { |
| 98 | + "ghooks": { |
| 99 | + "commit-msg": "validate-commit-msg" |
| 100 | + }, |
| 101 | + "commitizen": { |
| 102 | + "path": "node_modules/cz-conventional-changelog" |
| 103 | + } |
83 | 104 | } |
84 | 105 | } |
0 commit comments