forked from brainly/style-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 5.64 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
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "brainly-style-guide",
"version": "185.2.0",
"description": "Brainly Front-End Style Guide",
"repository": "https://github.com/brainly/style-guide.git",
"author": "Brainly Team",
"license": "GPL-3.0-only",
"module": "esm/index.js",
"main": "commonjs/index.js",
"types": "types/brainly-style-guide.d.ts",
"typings": "types/brainly-style-guide.d.ts",
"files": [
"src/",
"esm/",
"commonjs/",
"css/",
"types/"
],
"engines": {
"node": ">=8.0.0",
"yarn": "^1.0.0"
},
"dependencies": {
"classnames": "^2.2.5"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-flow": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.12.1",
"@bojagi/cli": "^0.15.0",
"@brainly/s3": "^4.4.0",
"@hot-loader/react-dom": "^16.8.6",
"@khanacademy/flow-to-ts": "^0.1.9",
"@microsoft/api-extractor": "^7.13.0",
"@storybook/addon-a11y": "@next",
"@storybook/addon-actions": "@next",
"@storybook/addon-docs": "@next",
"@storybook/addon-essentials": "@next",
"@storybook/addon-links": "@next",
"@storybook/addons": "@next",
"@storybook/react": "@next",
"@storybook/theming": "@next",
"autoprefixer": "^10.0.4",
"babel-eslint": "^10.0.2",
"babel-jest": "^20.0.3",
"babel-loader": "^8.0.5",
"concurrently": "^5.0.2",
"css-loader": "^3.1.0",
"del": "^2.2.0",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.1",
"eslint": "^7.18.0",
"eslint-config-brainly-react": "^2.7.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^4.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"file-loader": "^4.1.0",
"flow-bin": "^0.112.0",
"fs-extra": "^9.0.1",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^4.0.0",
"gulp-base64": "^0.1.3",
"gulp-fingerprint": "^1.0.0",
"gulp-fontcustom": "^0.1.2",
"gulp-livereload": "^3.8.0",
"gulp-load-plugins": "^1.2.0",
"gulp-prettify": "^0.5.0",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.6.1",
"gulp-rev": "^7.0.0",
"gulp-sass": "^3.2.1",
"gulp-sourcemaps": "^2.6.0",
"gulp-svg-sprite": "1.3.7",
"gulp-util": "^3.0.6",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.9.0",
"husky": "^0.11.3",
"jest": "^24.0.0",
"jscodeshift": "^0.11.0",
"polished": "^4.0.3",
"postcss": "^8.2.2",
"postcss-loader": "^4.1.0",
"prettier": "^1.18.2",
"progress-estimator": "^0.3.0",
"query-string": "^6.5.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-github-btn": "^1.2.0",
"react-hot-loader": "^4.12.8",
"react-router-dom": "^5.0.1",
"react-router-hash-link": "^1.2.2",
"react-test-renderer": "^16.2.0",
"rimraf": "^3.0.0",
"sass-lint": "^1.10.2",
"sass-lint-config-brainly": "^1.0.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"svg-sprite-loader": "^4.1.6",
"tailwindcss": "^2.0.1",
"terser-webpack-plugin": "^1.2.3",
"through2": "^2.0.3",
"typescript": "^4.1.3",
"webpack": "^4.6.0",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2",
"yargs": "^4.3.1"
},
"scripts": {
"js-lint": "yarn run eslint --ext .js --ext .jsx src/",
"scss-lint": "sass-lint -c node_modules/sass-lint-config-brainly/.sass-lint.yml -v -q 'src/**/*.scss'",
"scss-unused-variables": "./scripts/find_scss_unused_variables.sh src/",
"js-typecheck": "flow && node ./scripts/build-types.js",
"build": "gulp build",
"start": "http-server ./dist -p 8000",
"deploy": "gulp deploy",
"postversion": "git push && git push --tags",
"watch": "gulp build && gulp watch & yarn start",
"test": "yarn run scss-lint && yarn run scss-unused-variables && yarn run js-typecheck && yarn run js-lint && jest",
"eslint": "./node_modules/.bin/eslint",
"beta:watch": "webpack-dev-server --hot --inline --open --watch --mode=development",
"package-clean": "yarn rimraf esm/ commonjs/ css/ types/",
"package-esm": "BABEL_ENV=esm babel src --out-dir esm --only 'src/components' --only 'src/js' --only 'src/index.js' --ignore '**/*.spec.jsx' --ignore '**/pages/**' --ignore '**/iframe-pages/**' --ignore '**/__mocks__/**'",
"package-commonjs": "BABEL_ENV=commonjs babel src --out-dir commonjs --only 'src/components' --only 'src/js' --only 'src/index.js' --ignore '**/*.spec.jsx' --ignore '**/pages/**' --ignore '**/iframe-pages/**' --ignore '**/__mocks__/**'",
"package-css": "node ./scripts/build-css.js",
"package-types": "node ./scripts/build-types.js",
"package-prepare": "yarn package-clean && concurrently --names 'commonjs,esm,css' 'yarn run package-commonjs' 'yarn run package-esm' 'yarn run package-css' 'yarn run package-types'",
"prepublishOnly": "yarn package-prepare",
"storybook": "start-storybook -p 6006 -s ./.storybook/public",
"storybook-docs": "start-storybook --docs -p 6006 -s ./.storybook/public",
"build-storybook": "build-storybook -c .storybook -o .storybook-static -s ./.storybook/public"
},
"jest": {
"setupFiles": [
"./scripts/testsSetup.js"
],
"moduleDirectories": [
"node_modules",
"src/components",
"src/docs"
],
"transform": {
".*": "babel-jest"
}
},
"sideEffects": [
"*.scss",
"./src/images/*icons.js"
]
}