File tree Expand file tree Collapse file tree 6 files changed +872
-256
lines changed Expand file tree Collapse file tree 6 files changed +872
-256
lines changed Original file line number Diff line number Diff line change 15
15
},
16
16
"license" : " Apache-2.0" ,
17
17
"devDependencies" : {
18
- "rollup" : " ~0.56.4" ,
19
- "rollup-plugin-ascii" : " ~0.0.3" ,
20
- "rollup-plugin-commonjs" : " ^9.0.0" ,
21
- "rollup-plugin-node-resolve" : " ~3.0.3" ,
18
+ "browserify" : " ~16.1.1" ,
19
+ "tsify" : " ~3.0.4" ,
22
20
"typescript" : " 2.7.2" ,
23
21
"uglify-js" : " ~3.0.28"
24
22
},
27
25
"build-npm" : " ./scripts/build-npm.sh"
28
26
},
29
27
"dependencies" : {
30
- "@tensorflow/tfjs-core " : " link:../deeplearnjs/" ,
31
- "@tensorflow/ tfjs-layers" : " link:../tfjs-layers/"
28
+ "deeplearn " : " link:../deeplearnjs/" ,
29
+ "tfjs-layers" : " link:../tfjs-layers/"
32
30
}
33
31
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 20
20
rm -rf dist/
21
21
yarn
22
22
node_modules/.bin/tsc --sourceMap false
23
- node_modules/.bin/rollup -c
23
+ node_modules/.bin/browserify --standalone tf src/index.ts -p [tsify] > dist/tf.js
24
24
node_modules/.bin/uglifyjs dist/tf.js -c -m -o dist/tf.min.js
25
25
echo " Stored standalone library at dist/tf(.min).js"
26
26
npm pack
Original file line number Diff line number Diff line change 15
15
* =============================================================================
16
16
*/
17
17
18
- export * from '@tensorflow/tfjs-core ' ;
19
- export * from '@tensorflow/ tfjs-layers' ;
18
+ export * from 'deeplearn ' ;
19
+ export * from 'tfjs-layers' ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "module" : " es6" ,
4
- "moduleResolution" : " node" ,
3
+ "module" : " commonjs" ,
5
4
"noImplicitAny" : true ,
6
5
"sourceMap" : true ,
7
6
"removeComments" : true ,
You can’t perform that action at this time.
0 commit comments