Skip to content

Commit d5f786a

Browse files
committed
Add node types for isDev and remove prepare script
1 parent 2029ffe commit d5f786a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@storybook/storybook-deployer": "^2.8.7",
2020
"@types/jest": "^26.0.23",
2121
"@types/jest-axe": "^3.5.1",
22+
"@types/node": "^15.0.2",
2223
"@types/react": "16.14.0",
2324
"@types/react-dom": "^16.9.12",
2425
"@typescript-eslint/eslint-plugin": "^4.23.0",
@@ -69,9 +70,8 @@
6970
"test": "jest",
7071
"test:ci": "jest --coverage",
7172
"lint": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}' --fix",
72-
"lint:ci": "eslint 'src/**/*.{js,ts,tsx}'",
73-
"build-storybook": "build-storybook",
74-
"prepare": "yarn build"
73+
"lint:ci": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
74+
"build-storybook": "build-storybook"
7575
},
7676
"files": [
7777
"dist",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"jsx": "react",
1010
"moduleResolution": "node",
1111
"forceConsistentCasingInFileNames": true,
12-
"types": ["react", "jest"],
12+
"types": ["react", "jest", "node"],
1313
"allowSyntheticDefaultImports": true,
1414
"esModuleInterop": true,
1515
"skipLibCheck": true

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@
24912491
"@types/node" "*"
24922492
form-data "^3.0.0"
24932493

2494-
"@types/node@*":
2494+
"@types/node@*", "@types/node@^15.0.2":
24952495
version "15.0.2"
24962496
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.2.tgz#51e9c0920d1b45936ea04341aa3e2e58d339fb67"
24972497
integrity sha512-p68+a+KoxpoB47015IeYZYRrdqMUcpbK8re/zpFB8Ld46LHC1lPEbp3EXgkEhAYEcPvjJF6ZO+869SQ0aH1dcA==

0 commit comments

Comments
 (0)