Commit 4f7dec2 1 parent 208b891 commit 4f7dec2 Copy full SHA for 4f7dec2
File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* Stuff for webpack config / build process
2
+ Note / step for cutting release -
3
+ update package.json FIRST with version - to keep updated version in license.
4
+ THEN create build.
5
+ */
6
+ const packageData = require ( '../package.json' ) ;
7
+
8
+ const REPONAME = `ctree.js` ;
9
+
10
+ const LICENSE = `/**!
11
+ * @license ${ REPONAME } - ${ packageData . description }
12
+ * Originally written in GoLang by: Matt Gleich [https://github.com/gleich]
13
+ * Ported to JavaScript by: Jared Van Valkengoed [https://github.com/MarketingPip]
14
+ * VERSION: ${ packageData . version }
15
+ * LICENSED UNDER ${ packageData ?. license } LICENSE
16
+ * MORE INFO CAN BE FOUND AT https://github.com/MarketingPipeline/${ REPONAME } /
17
+ */` ;
18
+
19
+ const packageCONFIG = { LICENSE , FILENAME :packageData . main . split ( "/" ) . pop ( ) } ;
20
+
21
+ module . exports = packageCONFIG
You can’t perform that action at this time.
0 commit comments