angular-docs-cn/package.json

108 lines
3.0 KiB
JSON
Raw Normal View History

2014-09-18 17:56:38 -04:00
{
"name": "angular-srcs",
2017-05-19 18:54:52 -04:00
"version": "4.2.0-rc.0",
"private": true,
"branchPattern": "2.0.*",
"description": "Angular - a web framework for modern web apps",
"homepage": "https://github.com/angular/angular",
"bugs": "https://github.com/angular/angular/issues",
"license": "MIT",
"engines": {
"node": ">=6.9.5 <7.0.0",
"npm": ">=3.10.7 <4.0.0",
2017-03-02 02:58:05 -05:00
"yarn": ">=0.21.3 <0.22.0"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git"
},
2014-09-18 17:56:38 -04:00
"scripts": {
"postinstall": "node tools/npm/copy-npm-shrinkwrap && webdriver-manager update",
"check-env": "gulp check-env"
2014-09-18 17:56:38 -04:00
},
"dependencies": {
"core-js": "^2.4.1",
"reflect-metadata": "^0.1.3",
"rxjs": "^5.0.1",
"tslib": "^1.7.1",
"typescript": "^2.3.2",
"zone.js": "^0.8.10"
},
"optionalDependencies": {
"fsevents": "^1.0.14"
},
"devDependencies": {
"@types/angularjs": "^1.5.13-alpha",
"@types/base64-js": "^1.2.5",
"@types/fs-extra": "0.0.22-alpha",
"@types/hammerjs": "^2.0.33",
"@types/jasmine": "^2.2.22-alpha",
"@types/node": "^4.0.22-alpha",
"@types/selenium-webdriver": "^2.53.35",
2016-12-09 17:28:19 -05:00
"@types/systemjs": "^0.19.32",
fix(angular1-router): add support for using the component helper In Angular 1.5 there is a new helper method for creating component directives. See https://docs.angularjs.org/guide/component for more information about components. These kind of directives only match the `E` element form and the previously component router only created HTML that matched directives that matched the `A` attribute form. This commit changes the `<ng-outlet>` directive so that it generates custom HTML elements rather divs with custom attributes to trigger the relevant component to appear in the DOM. Going forward, Angular 1.5 users are encouraged to create their router components using the following style: ``` myModule.componnet('component-name', { // component definition object }); ``` Closes angular/angular.js#13860 Closes #6076 Closes #5278 BREAKING CHANGE: The component router now creates custom element HTML rather than custom attribute HTML, in order to create a new component. So rather than ```html <div custom-component></div> ``` it now creates ```html <custom-component></custom-component> ``` If you defined you router components using the `directive()` helper and specified the `restrict` properties such that element matching was not allowed, e.g. `restrict: 'A'` then these components will no longer be instantiated by the component router and the outlet will be empty. The fix is to include `E` in the `restrict` property. `restrict: 'EA'` Note that this does not affect directives that did not specify the `restrict` property as the default for this property is already `EA`.
2016-01-31 10:35:23 -05:00
"angular": "^1.5.0",
"angular-animate": "^1.5.0",
"angular-mocks": "^1.5.0",
"base64-js": "^1.2.0",
"bower": "^1.3.12",
"browserstacktunnel-wrapper": "^1.4.2",
"canonical-path": "0.0.2",
"chokidar": "^1.1.0",
2015-10-20 05:10:31 -04:00
"clang-format": "^1.0.32",
"cldr": "^3.5.2",
"conventional-changelog": "^1.1.0",
"cors": "^2.7.1",
"dgeni": "^0.4.2",
"dgeni-packages": "^0.16.5",
"entities": "^1.1.1",
"firefox-profile": "^0.3.4",
2016-01-02 23:05:56 -05:00
"fs-extra": "^0.26.3",
"glob": "^4.0.6",
"gulp": "^3.8.8",
"gulp-clang-format": "^1.0.23",
"gulp-connect": "^2.3.1",
"gulp-conventional-changelog": "^1.1.0",
"gulp-tslint": "^7.0.1",
"hammerjs": "^2.0.8",
"incremental-dom": "^0.4.1",
"jasmine": "^2.4.1",
"jasmine-core": "^2.4.1",
"jpm": "1.0.0",
"karma": "^0.13.20",
"karma-browserstack-launcher": "^0.1.9",
"karma-chrome-launcher": "^0.2.0",
"karma-jasmine": "^0.3.6",
"karma-sauce-launcher": "^0.3.0",
"karma-sourcemap-loader": "^0.3.6",
"madge": "0.5.0",
2016-01-02 22:56:03 -05:00
"minimist": "^1.2.0",
"nan": "^2.4.0",
"node-uuid": "1.4.x",
"parse5": "^3.0.1",
2017-04-17 12:23:37 -04:00
"protractor": "^4.0.14",
"react": "^0.14.0",
"rewire": "^2.3.3",
"rho": "^0.3.0",
"rollup": "^0.41.6",
"rollup-plugin-commonjs": "^5.0.5",
"rollup-plugin-node-resolve": "^3.0.0",
"selenium-webdriver": "^2.53.3",
2016-01-03 12:58:55 -05:00
"semver": "^5.1.0",
"sorcery": "^0.10.0",
"source-map": "^0.5.6",
"source-map-support": "^0.4.2",
"systemjs": "0.18.10",
"ts-api-guardian": "^0.2.1",
"tsickle": "^0.21.1",
"tslint": "^4.1.1",
"tslint-eslint-rules": "^3.1.0",
"typescript": "^2.1.5",
"universal-analytics": "^0.3.9",
"vrsource-tslint-rules": "^4.0.0",
"webpack": "^1.12.6",
"xhr2": "^0.1.4",
"yargs": "^3.31.0",
"yarn": "^0.19.1"
}
}