-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.28 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "nekohack-ui",
"version": "4.0.0-beta.0",
"description": "",
"private": false,
"main": "lib/index.js",
"module": "esm/index.js",
"typings": "lib/index.d.ts",
"files": [
"esm",
"lib"
],
"license": "MIT",
"author": "jiyuujin",
"repository": {
"type": "git",
"url": "https://github.com/jiyuujin/nekohack-ui.git"
},
"bugs": {
"url": "https://github.com/jiyuujin/nekohack-ui/issues"
},
"keywords": [
"react",
"typescript"
],
"scripts": {
"storybook": "start-storybook -p 6001 -c .storybook",
"screenshot": "storycap -C puppeteer --serverCmd \"start-storybook -p 6001\" http://localhost:6001 --serverTimeout 60000",
"regression": "reg-suit run",
"build-storybook": "build-storybook",
"build:lib": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.esm.build.json",
"build": "npm run clear && run-s build:lib build:esm",
"clear": "rm -rf esm/ lib/",
"test": "jest",
"test-cover": "jest --coverage",
"test:w": "npm run test-cover -- --watch",
"lint": "eslint ./ --ext .ts,.tsx",
"lint:fix": "eslint ./ --ext .ts,.tsx --fix"
},
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@nekohack/eslint-config-react": "^0.8.0",
"@storybook/addon-a11y": "6.5.13",
"@storybook/addon-actions": "6.5.13",
"@storybook/addon-postcss": "2.0.0",
"@storybook/react": "6.5.13",
"@types/jest": "^29.2.1",
"@types/node": "^17.0.23",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@types/styled-components": "^5.1.25",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"babel-jest": "^29.2.2",
"css-loader": "^6.5.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^8.13.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"fibers": "^5.0.1",
"jest": "^29.2.2",
"mini-css-extract-plugin": "^2.5.3",
"npm-run-all": "^4.1.5",
"prop-types": "^15.8.1",
"puppeteer": "^13.1.2",
"purgecss-webpack-plugin": "^4.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"reg-keygen-git-hash-plugin": "^0.11.1",
"reg-notify-github-plugin": "^0.11.1",
"reg-publish-s3-plugin": "^0.11.0",
"reg-suit": "^0.11.1",
"sass": "^1.49.0",
"sass-loader": "^12.4.0",
"storycap": "^3.1.0",
"styled-components": "^5.3.3",
"ts-jest": "^29.0.3",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.2 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.2 || ^18.0.0",
"styled-components": "^5.1.1"
},
"jest": {
"testEnvironmentOptions": {
"url": "http://localhost:8080"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transform": {
"^.+\\.(js|jsx)?$": "babel-jest",
"^.+\\.(ts|tsx)?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleDirectories": [
"node_modules"
],
"collectCoverageFrom": [
"src/components/**/*.{ts,tsx}"
]
}
}