File tree 9 files changed +3737
-0
lines changed
9 files changed +3737
-0
lines changed Original file line number Diff line number Diff line change
1
+ build /*
Original file line number Diff line number Diff line change
1
+ {
2
+ "env": {
3
+ "es6": true,
4
+ "jasmine": true,
5
+ "node": true
6
+ },
7
+ "extends": "eslint:recommended",
8
+ "globals": {
9
+ "pit": true
10
+ },
11
+ "rules": {
12
+ "indent": [2, 2],
13
+ "no-console": 1,
14
+ "no-const-assign": 2,
15
+ "no-trailing-spaces": 2,
16
+ "no-var": 2,
17
+ "prefer-arrow-callback": 2,
18
+ "prefer-const": 2,
19
+ "quotes": [2, "single"],
20
+ "semi": [2, "always"],
21
+ "valid-jsdoc": 2
22
+ }
23
+ }
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
+
11
+ # Directory for instrumented libs generated by jscoverage/JSCover
12
+ lib-cov
13
+
14
+ # Coverage directory used by tools like istanbul
15
+ coverage
16
+
17
+ # node-waf configuration
18
+ .lock-wscript
19
+
20
+ # Build directory
21
+ build
22
+
23
+ # Generated Test Repos
24
+ spec /repos
25
+
26
+ # Dependency directory
27
+ # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
28
+ node_modules
29
+
30
+ # Optional npm cache directory
31
+ .npm
32
+
33
+ # Optional REPL history
34
+ .node_repl_history
Original file line number Diff line number Diff line change
1
+ # Test directories
2
+ test
3
+ build /test
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " nodegit-lfs" ,
3
+ "version" : " 0.0.1" ,
4
+ "description" : " A wrapper for NodeGit to facilitate LFS Support" ,
5
+ "main" : " index.js" ,
6
+ "scripts" : {
7
+ "compile" : " \" node_modules/.bin/webpack\" --config webpack.config.js" ,
8
+ "watch" : " \" node_modules/.bin/webpack\" --config webpack.config.js --watch" ,
9
+ "eslint" : " \" node_modules/.bin/eslint\" src test" ,
10
+ "debug-test" : " yarn eslint && yarn compile && node-debug --debug-brk node_modules/.bin/mocha test" ,
11
+ "test" : " yarn eslint && \" node_modules/.bin/mocha\" test" ,
12
+ "test-watch" : " mocha test --watch"
13
+ },
14
+ "repository" :
" [email protected] :Axosoft/nodegit-lfs.git" ,
15
+ "author" : " Axosoft, LLC" ,
16
+ "license" : " ISC" ,
17
+ "keywords" : [
18
+ " node" ,
19
+ " git" ,
20
+ " lfs" ,
21
+ " nodegit"
22
+ ],
23
+ "bugs" : {
24
+ "url" : " https://github.com/Axosoft/nodegit-lfs/issues"
25
+ },
26
+ "homepage" : " https://github.com/Axosoft/nodegit-lfs#readme" ,
27
+ "peerDependencies" : {
28
+ "nodegit" : " >=0.18.3"
29
+ },
30
+ "devDependencies" : {
31
+ "babel-cli" : " ^6.24.1" ,
32
+ "babel-loader" : " ^7.1.1" ,
33
+ "babel-preset-es2015" : " ^6.24.1" ,
34
+ "chai" : " ^4.0.2" ,
35
+ "eslint" : " ^4.2.0" ,
36
+ "fs-extra" : " ^3.0.1" ,
37
+ "jsdoc-to-markdown" : " ^3.0.0" ,
38
+ "mocha" : " ^3.4.2" ,
39
+ "webpack" : " ^3.1.0"
40
+ },
41
+ "dependencies" : {
42
+ "ramda" : " ^0.24.1"
43
+ }
44
+ }
Original file line number Diff line number Diff line change
1
+ const init = ( ) => 0 ;
2
+
3
+ module . exports = init ;
Original file line number Diff line number Diff line change
1
+ const lfs = require ( '../src' ) ;
2
+ const expect = require ( 'chai' ) . expect ;
3
+
4
+ describe ( 'LFS' , ( ) => {
5
+ it ( 'init' , ( ) => {
6
+ const val = lfs ( ) ;
7
+ expect ( val ) . to . equal ( 0 ) ;
8
+ } ) ;
9
+ } ) ;
Original file line number Diff line number Diff line change
1
+ const path = require ( 'path' ) ;
2
+
3
+ module . exports = {
4
+ entry : './src/index.js' ,
5
+ output : {
6
+ path : path . resolve ( __dirname , './build' ) ,
7
+ filename : 'index.js'
8
+ } ,
9
+ devtool : 'source-map' ,
10
+ module : {
11
+ rules : [
12
+ {
13
+ test : / \. j s ? $ / ,
14
+ loader : 'babel-loader' ,
15
+ include : [
16
+ path . resolve ( __dirname , 'src' ) ,
17
+ path . resolve ( __dirname , 'test' )
18
+ ] ,
19
+ exclude : / n o d e _ m o d u l e s /
20
+ }
21
+ ]
22
+ }
23
+ } ;
You can’t perform that action at this time.
0 commit comments