-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
119 lines (119 loc) · 3.67 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
117
118
119
{
"name": "dc-pattern-lib",
"version": "1.5.4",
"description": "dc-pattern-lib React component",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"css",
"es",
"lib",
"umd",
"src"
],
"scripts": {
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
"build": "npm run build:pre && npm run build-css && npm run build:umd && npm run build:cjs",
"build:pre": "nwb clean",
"build:cjs": "tsc -m commonjs && cp -R src/assets lib/",
"build:umd": "nwb build-react-component --copy-files --no-demo",
"clean": "nwb clean-module && nwb clean-demo",
"prepublishOnly": "npm run build",
"start-nwb": "nwb serve-react-demo",
"start": "npm-run-all -p watch-css start-nwb storybook",
"test": "nwb test-react",
"test:coverage": "nwb test-react --coverage",
"test:watch": "nwb test-react --server",
"lint": "eslint src/**/*.tsx stories/**/*.tsx",
"lint:fix": "eslint src/**/*.tsx stories/**/*.tsx --fix",
"storybook": "start-storybook -p 6006",
"postversion": "git push origin $(git describe --abbrev=0 --tags)",
"build-storybook": "build-storybook",
"format": "prettier-eslint --write \"src/**/*.js\" \"src/**/*.jsx\" \"src/**/*.ts\" \"src/**/*.tsx\""
},
"dependencies": {
"@storybook/addon-actions": "^5.3.8",
"@storybook/addon-info": "^5.3.14",
"@storybook/addon-knobs": "^5.3.8",
"@storybook/addon-links": "^5.3.8",
"@storybook/addons": "^5.3.8",
"@storybook/react": "^5.3.8",
"@storybook/theming": "^5.3.8",
"node-sass": "^4.14.0",
"react-content-loader": "^4.3.4",
"react-copy-to-clipboard": "^5.0.2",
"react-gravatar": "^2.6.3",
"react-icons": "^3.8.0",
"react-router-dom": "^5.1.2",
"reactstrap": "^8.4.0",
"sass-loader": "^8.0.2",
"storybook": "^5.3.17"
},
"peerDependencies": {
"react": "16.x"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@types/node": "^13.9.0",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-gravatar": "^2.6.7",
"@types/reactstrap": "^8.4.2",
"@types/storybook__addon-info": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^2.3.2",
"@typescript-eslint/parser": "^2.3.2",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"bootstrap": "^4.4.1",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-standard": "^4.0.1",
"flow-bin": "^0.116.1",
"husky": "^4.2.0",
"lint-staged": "^10.0.2",
"node-sass-chokidar": "^1.4.0",
"npm-run-all": "^4.1.5",
"nwb": "0.23.x",
"prettier": "^1.19.1",
"prettier-eslint": "^9.0.1",
"prettier-eslint-cli": "^5.0.0",
"react": "^16.12.0",
"react-docgen-typescript-loader": "^3.6.0",
"react-dom": "^16.12.0",
"ts-loader": "^6.2.1",
"typescript": "^3.8.2"
},
"publishConfig": {
"access": "public"
},
"author": "",
"homepage": "",
"license": "MIT",
"repository": "",
"keywords": [
"react-component"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,tsx,tsx}": [
"prettier-eslint --write",
"./node_modules/.bin/eslint"
]
},
"bit": {
"env": {
"compiler": "bit.envs/compilers/react-typescript@3.1.51"
},
"componentsDefaultDirectory": "components/{name}",
"packageManager": "yarn"
}
}