File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ coverage
16
16
/locale
17
17
/plugin
18
18
dayjs.min.js
19
+ /lib
19
20
20
21
# dev
21
22
demo.js
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ script:
16
16
- codecov
17
17
after_success :
18
18
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
19
- npx travis-deploy-once && npm run build && npm install -g @semantic-release/changelog @semantic-release/git semantic-release && semantic-release && npm run test:sauce;
19
+ npx travis-deploy-once && npm run build && npm run babel && npm install -g @semantic-release/changelog @semantic-release/git semantic-release && semantic-release && npm run test:sauce;
20
20
fi
21
21
branches :
22
22
except :
Original file line number Diff line number Diff line change 4
4
"description" : " 2KB immutable date time library alternative to Moment.js with the same modern API " ,
5
5
"main" : " dayjs.min.js" ,
6
6
"types" : " index.d.ts" ,
7
- "module" : " ./src /index.js" ,
7
+ "module" : " ./lib /index.js" ,
8
8
"scripts" : {
9
9
"test" : " TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && npm run test-tz && jest" ,
10
10
"test-tz" : " jest test/timezone.test --coverage=false" ,
11
11
"lint" : " ./node_modules/.bin/eslint src/* test/* build/*" ,
12
+ "babel" : " BABEL_ENV=build babel src --out-dir lib --copy-files" ,
12
13
"build" : " cross-env BABEL_ENV=build node build && npm run size" ,
13
14
"sauce" : " npx karma start karma.sauce.conf.js" ,
14
15
"test:sauce" : " npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2 && npm run sauce -- 3" ,
40
41
{
41
42
"path" : " @semantic-release/changelog"
42
43
},
43
- [" @semantic-release/git" , {
44
- "assets" : [" CHANGELOG.md" ]
45
- }]
44
+ [
45
+ " @semantic-release/git" ,
46
+ {
47
+ "assets" : [
48
+ " CHANGELOG.md"
49
+ ]
50
+ }
51
+ ]
46
52
]
47
53
},
48
54
"keywords" : [
You can’t perform that action at this time.
0 commit comments