File tree Expand file tree Collapse file tree
entrypoint/programmaticAPI Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Logs
2- logs
3- * .log
4- npm-debug.log *
5-
6- # Runtime data
7- pids
8- * .pid
9- * .seed
10-
1+ # temporary folders:
2+ distribution
3+ volume
4+ coverage
115# Directory for instrumented libs generated by jscoverage/JSCover
126lib-cov
13-
147# Coverage directory used by tools like istanbul
158coverage
16-
179# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
1810.grunt
19-
2011# node-waf configuration
2112.lock-wscript
2213
23- # Compiled binary addons (http://nodejs.org/api/addons.html)
24- build /Release
25-
26- # Dependency directory
27- # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
14+ # Pacakges:
2815node_modules
29- distribution
16+ bower_components
17+ jspm_packages
18+
19+ # Logs:
20+ logs
21+ * .log
22+ npm-debug.log *
23+ yarn-error \. log
24+
25+ # OS & program files:
26+ * .DS_Store
27+ * .vagrant
28+ Thumbs.db
29+ . \~ vsdx
30+ pids
31+ * .pid
32+ * .seed
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ const ownConfiguration = {
99 } ,
1010 get distribution ( ) {
1111 return path . join ( ownConfiguration . directory . root , './distribution' )
12- } ,
12+ } ,
1313 } ,
1414 entrypoint : {
15- programmaticAPI : './script.js'
15+ programmaticAPI : './script.js' ,
1616 } ,
1717 script,
1818 transpilation : {
Original file line number Diff line number Diff line change 1- const projectConfig = require ( '../../configuration' ) , path = require ( 'path' ) , filesystem = require ( 'fs' )
1+ const projectConfig = require ( '../../configuration' ) ,
2+ path = require ( 'path' ) ,
3+ filesystem = require ( 'fs' )
24
35// • Run
4- if ( filesystem . existsSync ( projectConfig . directory . distribution ) ) {
6+ if ( filesystem . existsSync ( projectConfig . directory . distribution ) ) {
57 module . exports = require ( projectConfig . directory . distribution )
68} else {
79 // • Transpilation (babelJSCompiler)
810 const { Compiler } = require ( '@dependency/javascriptTranspilation' )
911 let compiler = new Compiler ( { babelTransformConfig : projectConfig . transpilation . babelConfig } )
1012 compiler . requireHook ( )
1113 module . exports = require ( path . join ( projectConfig . directory . source , projectConfig . entrypoint . programmaticAPI ) )
12- // way to output runtime transpilation in circular dependency.
13- // process.nextTick(() => {
14- // console.log(compiler.loadedFiles) // write any newer files transpiled in successive usage of this module.
15- // })
1614}
You can’t perform that action at this time.
0 commit comments