File tree Expand file tree Collapse file tree 7 files changed +1142
-14
lines changed Expand file tree Collapse file tree 7 files changed +1142
-14
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,5 @@ build/Release
26
26
# Dependency directory
27
27
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
28
28
node_modules
29
+
30
+ lib /
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
+ # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
18
+ .grunt
19
+
20
+ # node-waf configuration
21
+ .lock-wscript
22
+
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
28
+ node_modules
29
+
30
+ # We want lib/ on npm
31
+ # lib/
Original file line number Diff line number Diff line change 2
2
"name" : " ansi-to-react" ,
3
3
"version" : " 0.0.3" ,
4
4
"description" : " ANSI to React Elements" ,
5
- "main" : " index.js" ,
5
+ "main" : " lib/ index.js" ,
6
6
"scripts" : {
7
- "test" : " mocha 'test/**/*.js'"
7
+ "prebuild" : " mkdirp lib/ && npm run clean" ,
8
+ "prepublish" : " npm run build" ,
9
+ "test" : " mocha --compilers js:babel-core/register 'test/**/*.js'" ,
10
+ "test:watch" : " npm run test -- --watch" ,
11
+ "build" : " npm run build:es5" ,
12
+ "build:es5" : " babel src --out-dir lib/ --source-maps" ,
13
+ "clean" : " rimraf lib/*"
8
14
},
9
15
"keywords" : [
10
16
" ansi" ,
11
17
" react"
12
18
],
19
+ "babel" : {
20
+ "presets" : [
21
+ " es2015" ,
22
+ " react"
23
+ ]
24
+ },
13
25
"author" :
" Kyle Kelley <[email protected] >" ,
14
26
"license" : " MPL-2.0" ,
15
27
"dependencies" : {
28
+ "anser" : " ^1.0.1" ,
16
29
"ansi-to-json" : " ^1.0.0"
17
30
},
18
31
"peerDependencies" : {
19
32
"react" : " ^0.14.0 || ^15.0.0-0"
20
33
},
21
34
"devDependencies" : {
35
+ "babel-cli" : " ^6.8.0" ,
36
+ "babel-core" : " ^6.8.0" ,
37
+ "babel-preset-es2015" : " ^6.6.0" ,
38
+ "babel-preset-react" : " ^6.5.0" ,
22
39
"chai" : " ^3.5.0" ,
23
40
"enzyme" : " ^2.2.0" ,
41
+ "mkdirp" : " ^0.5.0" ,
24
42
"mocha" : " ^2.4.5" ,
25
43
"react" : " ^15.0.1" ,
26
44
"react-addons-test-utils" : " ^15.0.1" ,
27
- "react-dom" : " ^15.0.1"
45
+ "react-dom" : " ^15.0.1" ,
46
+ "rimraf" : " ^2.5.2" ,
47
+ "should" : " ^8.3.1"
28
48
}
29
49
}
You can’t perform that action at this time.
0 commit comments