Skip to content

Commit

Permalink
v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Temirlan committed Apr 9, 2021
1 parent c840c24 commit a1972a7
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 5 deletions.
58 changes: 57 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-input-mask-format",
"description": "Masked input component for React",
"version": "1.0.3",
"version": "1.0.5",
"homepage": "https://github.com/temirtator/react-input-mask-format",
"license": "MIT",
"author": "Temirlan Shagyrov <sh.temirlan95@gmail.com>",
Expand All @@ -26,6 +26,7 @@
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/register": "^7.8.3",
"@rollup/plugin-typescript": "^8.2.1",
"@types/react": "^17.0.3",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
Expand Down Expand Up @@ -67,7 +68,7 @@
"webpack-dev-server": "^3.10.1"
},
"main": "index.js",
"types": "index.d.ts",
"types": "./dist/index.d.ts",
"files": [
"lib",
"dist"
Expand All @@ -82,15 +83,16 @@
},
"scripts": {
"clean": "rimraf lib dist",
"build": "cross-env BABEL_ENV=rollup rollup -c",
"build": "cross-env BABEL_ENV=rollup rollup -c && npm run moveDeclarationFile",
"start": "cross-env BABEL_ENV=test NODE_ENV=development webpack-dev-server",
"prepare": "npm run lint && npm test && npm run clean && npm run build",
"lint": "eslint ./src ./tests ./*.js",
"lint-fix": "eslint --fix ./src ./tests ./*.js",
"test": "npm run build && npm run test:input && npm run test:server-render && npm run test:build",
"test:input": "cross-env NODE_ENV=test BABEL_ENV=test",
"test:server-render": "cross-env BABEL_ENV=test mocha --require @babel/register ./tests/server-render",
"test:build": "cross-env BABEL_ENV=test mocha --require @babel/register ./tests/build"
"test:build": "cross-env BABEL_ENV=test mocha --require @babel/register ./tests/build",
"moveDeclarationFile": "cp -i ./index.d.ts ./dist/"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"declaration": true,
"baseUrl": "../",
"typeRoots": [
"../"
Expand Down

0 comments on commit a1972a7

Please sign in to comment.