This repository has been archived by the owner on Feb 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
147 lines (147 loc) · 5.07 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "mc-components",
"version": "2.2.2",
"author": "Masterclass <[email protected]>",
"homepage": "https://github.com/yankaindustries/mc-components",
"license": "MIT",
"bugs": {
"url": "https://github.com/yankaindustries/mc-components/issues"
},
"main": "./dist/components/index.js",
"module": "./dist/components/index.js",
"style": "dist/styles/css/index.css",
"sass": "dist/styles/scss/index.scss",
"sideEffects": [
"*.css",
"*.scss"
],
"scripts": {
"prebuild": "rimraf ./dist",
"dev": "concurrently -n js,css,scss 'yarn dev:js' 'yarn dev:css' 'yarn dev:scss'",
"dev:js": "babel ./src/components --watch --out-dir ./dist/components --ignore '**/*.stories.js,**/*.test.js'",
"dev:css": "mkdir -p ./dist/styles/css && nodemon -e scss,svg --watch src -x 'yarn build:css'",
"dev:scss": "mkdir -p ./dist/styles/scss && nodemon -e scss,svg --watch src -x 'yarn build:scss'",
"build": "yarn build:assets && yarn build:js && yarn build:styles",
"build-storybook": "build-storybook -c .storybook -s ./storybook-static",
"build:assets": "npx babel-node ./build/assets.js && svgr ./src/assets/icons --out-dir ./src/components/Icons",
"build:js": "babel ./src/components --out-dir ./dist/components --ignore '**/*.stories.js,**/*.test.js'",
"build:css": "NODE_ENV=production mkdir -p ./dist/styles/css && node-sass ./src/styles/index.scss | postcss > ./dist/styles/css/index.css",
"build:scss": "NODE_ENV=development mkdir -p ./dist/styles/scss && postcss ./src/styles --base ./src/styles --dir ./dist/styles/scss",
"build:styles": "yarn build:css && yarn build:scss",
"start": "NODE_ENV=development start-storybook -p 9001 -c .storybook -s ./storybook-static",
"deploy": "storybook-to-ghpages",
"lint:js": "eslint ./src --color --quiet",
"lint:style": "stylelint ./src/styles/**/*.scss",
"lint": "yarn lint:js && yarn lint:style",
"preversion": "yarn lint",
"version": "yarn build && git add -A .",
"postversion": "git push origin $(git symbolic-ref --short -q HEAD) && git push origin $(git symbolic-ref --short -q HEAD) --tags",
"test": "jest src"
},
"jest": {
"modulePaths": [
"src",
"node_modules"
],
"setupFilesAfterEnv": [
"<rootDir>/.jest/setup.js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*js",
"!src/**/*.stories.js"
],
"coverageReporters": [
"html"
]
},
"dependencies": {
"bootstrap": "^4.3.1",
"classnames": "^2.2.6",
"hls.js": "^0.14.11",
"popper.js": "^1.15.0",
"react-select": "^3.0.5",
"react-slick": "^0.25.2",
"react-transition-group": "^4.3.0",
"slick-carousel": "^1.8.1"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/node": "^7.6.1",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-react-constant-elements": "^7.6.0",
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"@masterclass/eslint-config": "yankaindustries/eslint-config-masterclass#1.0.2",
"@storybook/addon-actions": "^5.1.11",
"@storybook/addon-info": "^5.2.1",
"@storybook/addon-links": "^5.1.11",
"@storybook/addon-options": "^5.2.1",
"@storybook/addons": "^5.1.11",
"@storybook/preset-scss": "^1.0.2",
"@storybook/react": "^5.1.11",
"@storybook/storybook-deployer": "^2.8.1",
"@storybook/theming": "^5.2.0",
"@svgr/cli": "^4.3.2",
"@svgr/webpack": "^4.3.2",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"autoprefixer": "^9.6.1",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-imports": "^2.0.0",
"concurrently": "^4.1.2",
"cpx": "^1.5.0",
"css-loader": "^3.2.0",
"cssnano": "^4.1.10",
"eslint": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"file-loader": "^4.2.0",
"final-form": "^4.20.1",
"husky": "^3.0.5",
"jest": "^24.9.0",
"jest-dom": "^4.0.0",
"jsx-to-string": "^1.4.0",
"lint-staged": "^9.2.5",
"node-sass": "^4.12.0",
"nodemon": "^1.19.2",
"postcss": "^7.0.18",
"postcss-cli": "^6.1.3",
"postcss-inline-svg": "^4.1.0",
"postcss-loader": "^3.0.0",
"postcss-scss": "^2.0.0",
"prettier-eslint-cli": "^5.0.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-final-form": "^6.5.2",
"react-highlight": "^0.12.0",
"react-redux": "^7.1.1",
"redux": "^4.0.4",
"redux-form": "^8.2.6",
"rimraf": "^3.0.0",
"sass-loader": "^8.0.0",
"style-loader": "^1.0.0",
"stylelint": "^11.0.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-scss": "^3.11.1",
"url-loader": "^2.1.0"
},
"lint-staged": {
"src/**/*.js": [
"yarn lint:js"
],
"src/**/*.scss": [
"yarn lint:style",
"stylelint --fix",
"git add"
]
},
"peerDependencies": {
"react": "^16.9.0",
"react-dom": "^16.9.0"
}
}