9a9b07dea8
The quotes rule had to be disabled for e2e tests generated from ngdoc
because dgeni templates use double quotes as string delimiters.
Since we can't have guarantees that dgeni template wrappers will follow
the same JS code style the Angular 1 repo uses, we should find a way
to enforce our ESLint setup only for the parts in this repo, perhaps
via prepending a generated `/* eslint-enable OUR_RULES */` pragma.
(partially cherry-picked from 9360aa2d27)
Closes #15011
39 lines
1.3 KiB
JavaScript
39 lines
1.3 KiB
JavaScript
'use strict';
|
|
|
|
module.exports = function defaultDeployment(getVersion) {
|
|
return {
|
|
name: 'default',
|
|
examples: {
|
|
commonFiles: {
|
|
scripts: ['../../../angular.min.js']
|
|
},
|
|
dependencyPath: '../../../'
|
|
},
|
|
scripts: [
|
|
'../angular.min.js',
|
|
'../angular-resource.min.js',
|
|
'../angular-route.min.js',
|
|
'../angular-cookies.min.js',
|
|
'../angular-sanitize.min.js',
|
|
'../angular-touch.min.js',
|
|
'../angular-animate.min.js',
|
|
'components/marked-' + getVersion('marked', 'node_modules', 'package.json') + '/lib/marked.js',
|
|
'js/angular-bootstrap/dropdown-toggle.min.js',
|
|
'components/lunr.js-' + getVersion('lunr.js') + '/lunr.min.js',
|
|
'components/google-code-prettify-' + getVersion('google-code-prettify') + '/src/prettify.js',
|
|
'components/google-code-prettify-' + getVersion('google-code-prettify') + '/src/lang-css.js',
|
|
'js/versions-data.js',
|
|
'js/pages-data.js',
|
|
'js/nav-data.js',
|
|
'js/docs.min.js'
|
|
],
|
|
stylesheets: [
|
|
'components/bootstrap-' + getVersion('bootstrap') + '/css/bootstrap.min.css',
|
|
'components/open-sans-fontface-' + getVersion('open-sans-fontface') + '/open-sans.css',
|
|
'css/prettify-theme.css',
|
|
'css/docs.css',
|
|
'css/animations.css'
|
|
]
|
|
};
|
|
};
|