What can I do ?
grunt.initConfig({
uglify: {
build: {
src: 'js/reveal.js',
dest: 'js/reveal.min.js'
}
},
sass: {
core: {
files: {
'css/reveal.css': 'css/reveal.scss',
'css/custom.css': 'css/custom.scss'
}
}
}});
gulp.task('build:js', () =>
gulp.src('js/reveal.js')
.pipe(uglify())
...
.pipe(gulp.dest('js/reveal.min.js'))
);
gulp.task('build:css', () =>
gulp.src(['css/reveal.scss', 'css/custom.scss'])
.pipe(sass())
...
.pipe(gulp.dest('css/'))
);
module.exports = {
entry: { index: [ "./src/index.js", ], },
output: { path: path.join(__dirname, "dist"), filename: "[name].js", publicPath: "/", },
resolve: { extensions: [ "", ".js", ".json", ], },
module: {
loaders: [
{ test: /\.js$/, loaders: [ "babel", "eslint"] },
{ test: /\.scss$/, loaders: ["style", "css", "sass"] }
],
},
plugins: [
new ExtractTextPlugin("[name].css", {disable: !production}), new webpack.DefinePlugin({ __PROD__: production })
],
sassLoader: { includePaths: [path.resolve(__dirname, "./some-folder")] }
}
$ jspm init
$ jspm install angularjs
First commit : 3 November 2013
Version of Ember at this time : 1.1.2
$ npm install -g ember-cli
$ ember new ember-quickstart
$ cd ember-quickstart
$ ember server
├── README.md
├── angular-cli.json
├── e2e
│ ├── app.e2e-spec.ts
│ ├── app.po.ts
│ └── tsconfig.json
├── karma.conf.js
├── package.json
├── protractor.conf.js
├── src
│ ├── app
│ │ ├── app.component.html
│ │ ├── app.component.sass
│ │ ├── app.component.spec.ts
│ │ ├── app.component.ts
│ │ ├── app.module.ts
│ │ ├── index.ts
│ │ └── shared
│ │ └── index.ts
│ ├── environments
│ │ ├── environment.prod.ts
│ │ └── environment.ts
│ ├── favicon.ico
│ ├── index.html
│ ├── main.ts
│ ├── polyfills.ts
│ ├── styles.sass
│ ├── test.ts
│ ├── tsconfig.json
│ └── typings.d.ts
└── tslint.json
4,0K angular-cli.json
12K e2e
4,0K karma.conf.js
322M node_modules
4,0K package.json
4,0K protractor.conf.js
4,0K README.md
64K src
4,0K tslint.json
ng doc component
ng lint
ng get|set
ng test
ng e2e
All the static data should be inside angular-cli.json
but now, we don't have access to underlying build tools...
Now, it only supports TypeScript
Will support Javascript, ES201X, Dart or more
Make the CLI extensible for 3rd party plug-in
Codelyzer : Linting & perf analysis for Angular2
Help to upgrade between versions or coding style
Any deployment system could be integrated to the CLI