File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
- dist
2
+ dist
3
+ * .tgz
Original file line number Diff line number Diff line change 1
- /index.js
1
+ /.idea
2
+ /test
3
+ .npmignore
4
+ .travis.yml
5
+ * .tgz
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ntp-packet-parser" ,
3
- "version" : " 0.1" ,
3
+ "version" : " 0.1.0 " ,
4
4
"description" : " A parser for NTP UDP packets" ,
5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
7
+ "prepublishOnly" : " yarn prettier:lint" ,
7
8
"test" : " mocha --compilers js:babel-core/register --recursive test" ,
8
- "build" : " babel index.js --presets babel-preset-es2015 --out-dir dist && prettier --write dist/index .js" ,
9
- "prettier" : " prettier --write index.js test /**/*.js test/**/*.json " ,
9
+ "build" : " babel --presets babel-preset-es2015 --out-dir dist src && prettier --write dist/**/* .js" ,
10
+ "prettier" : " prettier --write src /**/*.js test/**/*.js " ,
10
11
"prettier:lint" : " prettier --list-different index.js"
11
12
},
12
13
"keywords" : [
You can’t perform that action at this time.
0 commit comments