File tree Expand file tree Collapse file tree 4 files changed +35
-1
lines changed Expand file tree Collapse file tree 4 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ const fs = require ( 'fs' )
2+
3+ console . log ( fs . readFileSync ( __dirname + '/package.json' , 'utf8' ) )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " fixture" ,
3+ "version" : " 1.0.0" ,
4+ "scripts" : {
5+ "build" : " ../../node_modules/.bin/webpack"
6+ },
7+ "browserify" : {
8+ "transform" : [
9+ " brfs" ,
10+ " glslify"
11+ ]
12+ }
13+ }
Original file line number Diff line number Diff line change 1+ var path = require ( 'path' ) ;
2+
3+ module . exports = {
4+ entry : './index.js' ,
5+ output : {
6+ path : path . join ( __dirname , 'dist' ) ,
7+ filename : 'bundle.js'
8+ } ,
9+ module : {
10+ rules : [
11+ {
12+ test : / .j s / ,
13+ use : path . join ( __dirname , '../../' )
14+ }
15+ ]
16+ }
17+ }
Original file line number Diff line number Diff line change 2020 },
2121 "devDependencies" : {
2222 "brfs" : " ^1.4.2" ,
23+ "glslify" : " ^6.1.0" ,
2324 "npm-which" : " ^2.0.0" ,
2425 "regl" : " ^1.3.0" ,
2526 "standard" : " ^5.4.1" ,
2627 "tap-spec" : " ^4.1.1" ,
2728 "tape" : " ^4.4.0" ,
2829 "through2" : " ^2.0.0" ,
29- "webpack" : " ^2.2.1 "
30+ "webpack" : " ^3.0.0 "
3031 },
3132 "scripts" : {
3233 "test" : " node test.js | tspec" ,
You can’t perform that action at this time.
0 commit comments