Skip to content

Commit 43d90c0

Browse files
authored
Merge pull request #16 from imagekit-developer/lean
Unpkg support Bundle size reduced New upload test cases.
2 parents 67b12c7 + 071ee01 commit 43d90c0

31 files changed

+2138
-6204
lines changed

.babelrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/env",
5+
{
6+
"modules": false
7+
}
8+
]
9+
]
10+
}

.github/workflows/nodejs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [10.x, 12.x]
12+
node-version: [12.x]
1313

1414
steps:
1515
- uses: actions/checkout@v1
@@ -20,6 +20,7 @@ jobs:
2020
- name: build and test
2121
run: |
2222
npm i -g yarn
23+
yarn install
2324
yarn build
2425
yarn test
2526
env:

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [10.x, 12.x]
15+
node-version: [12.x]
1616

1717
steps:
1818
- uses: actions/checkout@v1
@@ -23,6 +23,7 @@ jobs:
2323
- name: build and test
2424
run: |
2525
npm i -g yarn
26+
yarn install
2627
yarn build
2728
yarn test
2829
env:
@@ -40,6 +41,7 @@ jobs:
4041
- name: yarn publish
4142
run: |
4243
npm i -g yarn
44+
yarn build
4345
yarn config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
4446
yarn publish
4547
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ samples/sample-app/node_modules/*
33
.env
44
.vscode
55
.DS_Store
6+
dist

Gruntfile.js

Lines changed: 0 additions & 38 deletions
This file was deleted.

dist/imagekit-min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)