Commit 43f3e4f 1 parent c405f28 commit 43f3e4f Copy full SHA for 43f3e4f
File tree 5 files changed +31
-19
lines changed
blueprints/addon/files/__name__/test
5 files changed +31
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
+ "presets" : [
3
+ [ "env" , {
4
+ "targets" : {
5
+ "node" : "current"
6
+ }
7
+ } ]
8
+ ] ,
2
9
"plugins" : [
3
- "transform-exponentiation-operator" ,
4
- "syntax-trailing-function-commas" ,
5
- "transform-es2015-arrow-functions" ,
6
- "transform-es2015-template-literals" ,
7
- "transform-es2015-spread" ,
8
- "transform-es2015-shorthand-properties" ,
9
- "transform-es2015-destructuring" ,
10
- "transform-class-properties" ,
11
- "transform-es2015-modules-commonjs" ,
12
- "transform-regenerator" ,
13
- "syntax-async-functions" ,
14
- "transform-runtime"
10
+ [ "transform-class-properties" , { "spec" : true } ]
15
11
] ,
16
12
"ignore" : [
17
- "blueprints/*/files/**"
13
+ "blueprints/*/files/**" ,
14
+ "test/dummy/**" ,
15
+ "denali-build.js"
18
16
]
19
17
}
Original file line number Diff line number Diff line change 1
1
{
2
- "extends": "denali"
2
+ "extends": "eslint:recommended",
3
+ "parser": "babel-eslint",
4
+ "env": {
5
+ "node": true
6
+ },
7
+ "parserOptions": {
8
+ "sourceType": "module"
9
+ }
3
10
}
Original file line number Diff line number Diff line change
1
+ const bundle = require ( '../../tmp/-dummy/dummy.bundle' ) ;
2
+ const container = bundle ( ) ;
3
+
4
+ const Application = container . lookup ( 'app:application' ) ;
5
+ const application = new Application ( container . loader , { environment : process . env . NODE_ENV || 'development' } ) ;
6
+ application . start ( ) ;
7
+
8
+ module . exports = application ;
9
+
Original file line number Diff line number Diff line change 35
35
"typescript" : " ^2.4.2"
36
36
},
37
37
"scripts" : {
38
- "build" : " npm run build:clean && npm run build:compile && npm run build:bin && npm run build:templates" ,
39
- "build:clean" : " rm -rf dist coverage .nyc_output" ,
38
+ "build" : " npm run build:clean && npm run build:blueprints && npm run build:compile && npm run build:bin && npm run build:templates" ,
39
+ "build:clean" : " rm -rf dist coverage .nyc_output && mkdir dist" ,
40
+ "build:blueprints" : " cp -R blueprints dist/blueprints" ,
40
41
"build:compile" : " tsc" ,
41
42
"build:bin" : " mv dist/bin/denali.js dist/bin/denali && chmod +x dist/bin/denali" ,
42
43
"build:templates" : " cp -r lib/templates dist/lib/templates" ,
You can’t perform that action at this time.
0 commit comments