-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.63 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@story-squad/components",
"version": "0.1.1",
"description": "A custom component library for rapid Story Squad UI development.",
"main": "dist/index",
"types": "dist/index",
"scripts": {
"test": "jest --watchAll",
"test:once": "jest",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.json",
"prepare": "yarn build",
"prepublishOnly": "yarn format && yarn lint && yarn test:once",
"preversion": "yarn lint",
"version": "yarn format && git add -A src",
"postversion": "git push && git push --tags",
"sb": "start-storybook -p 6006",
"sb:start": "yarn sb",
"sb:build": "build-storybook"
},
"repository": {
"type": "git",
"url": "git+https://github.com/story-squad/components.git"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/story-squad/components/issues"
},
"homepage": "https://github.com/story-squad/components#readme",
"dependencies": {
"@story-squad/react-utils": "^0.0.21",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@storybook/addon-actions": "^6.2.8",
"@storybook/addon-essentials": "^6.2.8",
"@storybook/addon-links": "^6.2.8",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.2.8",
"@testing-library/react": "^11.2.6",
"@types/babel__core": "^7.1.14",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.39",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"babel-loader": "^8.2.2",
"css-loader": "^5.2.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"node-sass": "^5.0.0",
"prettier": "^2.2.1",
"sass": "^1.32.8",
"sass-loader": "10.1.1",
"style-loader": "^2.0.0",
"ts-jest": "^26.5.4",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.2.3"
},
"peerDependencies": {
"react": ">=17.0.2"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"moduleNameMapper": {
"^.+\\.scss": "identity-obj-proxy"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.stories.{js,jsx,ts,tsx}",
"!src/**/index.{js,jsx,ts,tsx}"
],
"coveragePathIgnorePatterns": [
"src/index.ts"
],
"setupFiles": []
}
}