File tree 5 files changed +56
-76
lines changed
5 files changed +56
-76
lines changed Original file line number Diff line number Diff line change 1
- # Logs
2
- logs
1
+ node_modules
2
+ .DS_Store
3
3
* .log
4
- npm-debug.log *
5
-
6
- # Dependencies
7
- node_modules /
8
-
9
- # Coverage
10
4
coverage
11
-
12
- # Transpiled files
13
- build /
14
-
15
- # VS Code
16
- .vscode
17
- ! .vscode /tasks.js
18
-
19
- # JetBrains IDEs
20
- .idea /
5
+ .idea
21
6
* .iml
22
-
23
- # Optional npm cache directory
24
- .npm
25
-
26
- # Optional eslint cache
27
- .eslintcache
28
-
29
- # Misc
30
- .DS_Store
7
+ dist
8
+ lib
9
+ lib-esm
10
+ stats
11
+ _bundles
Original file line number Diff line number Diff line change
1
+ node_modules
2
+ .DS_Store
3
+ * .log
4
+ coverage
5
+ .idea
6
+ * .iml
7
+ . *
8
+ ** /tsconfig.json
9
+ ** /webpack. * .config.js
10
+ _output
11
+ screenshots
12
+ stats
13
+ __tests__
14
+ build
15
+ src
Original file line number Diff line number Diff line change 6
6
"engines" : {
7
7
"node" : " >= 6.9.0"
8
8
},
9
- "dependencies" : {
10
- "@types/node" : " 8.0.46" ,
11
- "@types/bluebird" : " ^3.5.14" ,
12
- "bluebird" : " ^3.5.1" ,
13
- "escape-html" : " ^1.0.3" ,
14
- "tsutils" : " ~2.12.0" ,
15
- "tslib" : " ~1.8.0"
16
- },
9
+ "dependencies" : {},
17
10
"devDependencies" : {
11
+ "@types/bluebird" : " ^3.5.14" ,
18
12
"@types/jest" : " ~21.1.1" ,
19
13
"@types/node" : " 8.0.46" ,
14
+ "bluebird" : " ^3.5.1" ,
20
15
"babel-core" : " ^6.26.0" ,
21
16
"babel-loader" : " ^7.1.2" ,
22
17
"babel-preset-es2015" : " ^6.24.1" ,
23
- "bluebird" : " ^3.5.1" ,
24
- "escape-html" : " ^1.0.3" ,
25
18
"jest" : " ~21.2.0" ,
26
19
"rimraf" : " ~2.6.2" ,
27
20
"tslint" : " ~5.8.0" ,
48
41
" print" ,
49
42
" html"
50
43
],
51
- "main" : " src/prettyPrint .js" ,
44
+ "main" : " dist/bundle .js" ,
52
45
"repository" : {
53
46
"type" : " git" ,
54
47
"url" : " https://github.com/amelki/json-pretty-html.git"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module.exports = {
3
3
output : {
4
4
path : __dirname + '/dist' ,
5
5
filename : 'bundle.js' ,
6
- libraryTarget : 'var ' ,
6
+ libraryTarget : 'umd ' ,
7
7
library : 'prettyPrint'
8
8
} ,
9
9
module : {
You can’t perform that action at this time.
0 commit comments