-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.96 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
{
"name": "@oacore/design",
"version": "5.0.33",
"description": "CORE Design Elements and Components is our shared components library",
"author": "CORE, The Open University <[email protected]>",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "https://github.com/oacore/design.git"
},
"main": "lib/index.js",
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@oacore/eslint-config-react": "^1.0.6",
"@oacore/prettier-config": "^1.0.6",
"@oacore/stylelint-config-base": "^2.0.0-stylelint.1",
"@storybook/addon-actions": "^3.1.2",
"@storybook/addon-centered": "^3.1.2",
"@storybook/addon-options": "^3.1.2",
"@storybook/addon-storyshots": "^3.1.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-css-modules-transform": "^1.6.2",
"babel-plugin-module-resolver": "^4.0.0",
"css-loader": "^5.0.0",
"cssnano": "^4.1.10",
"eslint": "^7.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"file-loader": "^6.2.0",
"npm-run-all": "^4.1.5",
"postcss": "8.4.14",
"postcss-calc": "^7.0.4",
"postcss-cli": "^8.2.0",
"postcss-extend-rule": "^4.0.0",
"postcss-loader": "^4.0.4",
"postcss-modules": "^3.2.2",
"postcss-preset-env": "^7.7.2",
"prettier": "^2.1.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-styleguidist": "^11.1.1",
"style-loader": "^2.0.0",
"stylelint": "^13.7.2",
"svg-sprite-loader": "^6.0.9",
"svgo-loader": "^3.0.0",
"url-loader": "^4.1.1",
"webpack": "^4.44.2",
"webpack-cli": "^4.1.0"
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@mdi/svg": "^5.8.55",
"@tippyjs/react": "^4.2.0",
"babel-plugin-add-react-displayname": "0.0.5",
"body-scroll-lock": "^3.1.5",
"classnames": "^2.2.6",
"cosmiconfig": "^7.0.0",
"d3-array": "^1.2.0",
"d3-format": "^1.2.0",
"d3-scale": "^1.0.6",
"deepmerge": "^4.2.2",
"katex": "^0.16.0",
"prop-types": "^15.7.2",
"react-cookie": "^4.1.1",
"react-focus-lock": "^2.9.1",
"react-markdown": "^5.0.0",
"react-slick": "^0.28.1",
"sanitize.css": "^12.0.1",
"slick-carousel": "^1.8.1",
"svgo": "^1.3.2",
"svgstore": "^3.0.0-2",
"throttle-debounce": "^3.0.1",
"yargs": "^16.1.0"
},
"peerDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"bin": {
"design": "bin/index.js"
},
"scripts": {
"postinstall": "node bin build",
"lint:json": "prettier --ignore-path .gitignore --check '**/*.json'",
"lint:js": "eslint --ignore-path .gitignore --ext .js,.jsx .",
"lint:css": "stylelint --ignore-path .gitignore 'src/**/*.css'",
"lint": "run-p lint:*",
"format": "eslint --ignore-path .gitignore --ext .js,.jsx --fix .",
"clean": "if [ -d lib ]; then rm -r lib; fi",
"prebuild": "npm run clean",
"build:js": "babel src --out-dir \"${BUILD_PATH}lib\" --verbose",
"build:css": "run-p 'build:css:* -- {@}' --",
"build:css:local": "postcss 'src/**/*.css' --base src --dir \"${BUILD_PATH}lib\" --verbose",
"build:css:global": "postcss 'src/**/*.css' --base src --env=global --dir \"${BUILD_PATH}lib/global\" --verbose",
"build:lib": "run-p build:js build:css",
"build:docs": "styleguidist build",
"dev:docs": "node bin build && styleguidist server",
"build": "NODE_ENV=production && run-s build:lib build:docs",
"dev:css": "npm run build:css -- --watch",
"dev:js": "npm run build:js -- --watch",
"dev": "run-p dev:*"
}
}