Compare commits

...

2 Commits

Author SHA1 Message Date
0eb39ff548 fixed the publish and remove publish command 2020-09-19 16:06:18 +07:00
1237376e19 updated the package to 1.0.7 2020-09-19 15:59:06 +07:00
4 changed files with 1 additions and 14 deletions

View File

@ -1 +0,0 @@
declare function sumTest(): number;

View File

@ -1,7 +0,0 @@
"use strict";
function sumTest() {
return 1 + 4;
}
test("test sum with 1 + 4 -> 5", function () {
expect(1 + 4).toBe(5);
});

View File

@ -1,6 +1,6 @@
{
"name": "@cubetiq/react-use-countdown",
"version": "1.0.6",
"version": "1.10.4",
"description": "Count down with trigger",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
@ -23,7 +23,6 @@
"build": "tsc",
"test": "jest",
"build:test": "yarn test && yarn build",
"publish": "yarn build:test && npm publish --registry https://registry.npmjs.com",
"run:example": "cd example && yarn start"
},
"devDependencies": {

View File

@ -1,7 +1,3 @@
function sumTest() {
return 1 + 4;
}
test(`test sum with 1 + 4 -> 5`, () => {
expect(1 + 4).toBe(5);
});