|
2 | 2 | "name": "@coreui/react",
|
3 | 3 | "version": "4.0.0-alpha.0",
|
4 | 4 | "description": "",
|
| 5 | + "license": "MIT", |
5 | 6 | "main": "dist/index.js",
|
6 | 7 | "module": "dist/index.es.js",
|
7 | 8 | "jsnext:main": "dist/index.es.js",
|
| 9 | + "files": [ |
| 10 | + "dist/", |
| 11 | + "src/", |
| 12 | + "doczrc.js", |
| 13 | + "tsconfig.json", |
| 14 | + "package.json" |
| 15 | + ], |
8 | 16 | "scripts": {
|
9 | 17 | "build": "rollup -c",
|
10 |
| - "docz:dev": "docz dev", |
11 |
| - "docz:build": "docz build", |
12 |
| - "docz:serve": "docz build && docz serve", |
| 18 | + "docs:dev": "docz dev", |
| 19 | + "docs:build": "docz build", |
13 | 20 | "lint": "eslint 'src/**/*.{js,ts,tsx}'",
|
14 |
| - "format": "prettier-standard --format", |
15 |
| - "test": "jest --coverage" |
| 21 | + "test": "jest --coverage", |
| 22 | + "test:update": "jest --coverage --updateSnapshot" |
| 23 | + }, |
| 24 | + "peerDependencies": { |
| 25 | + "react": "^17", |
| 26 | + "react-dom": "^17", |
| 27 | + "react-router-dom": "^5.2.0" |
16 | 28 | },
|
17 |
| - "keywords": [], |
18 |
| - "author": "", |
19 |
| - "license": "ISC", |
20 | 29 | "devDependencies": {
|
21 |
| - "@babel/core": "^7.14.0", |
22 |
| - "@babel/preset-env": "^7.14.1", |
| 30 | + "@babel/core": "^7.14.3", |
| 31 | + "@babel/preset-env": "^7.14.2", |
23 | 32 | "@babel/preset-react": "^7.13.13",
|
24 |
| - "@babel/preset-typescript": "^7.13.0", |
25 |
| - "@coreui/coreui": "^4.0.0-alpha.1", |
26 | 33 | "@emotion/react": "^11.4.0",
|
| 34 | + "@emotion/styled": "^11.3.0", |
27 | 35 | "@popperjs/core": "^2.9.2",
|
28 | 36 | "@rollup/plugin-commonjs": "^19.0.0",
|
29 | 37 | "@rollup/plugin-node-resolve": "^13.0.0",
|
30 | 38 | "@testing-library/jest-dom": "^5.12.0",
|
31 |
| - "@testing-library/react": "^11.2.6", |
32 |
| - "@types/classnames": "^2.3.0", |
33 |
| - "@types/jest": "^26.0.23", |
34 |
| - "@types/prop-types": "^15.7.3", |
35 |
| - "@types/react": "^17.0.5", |
36 |
| - "@types/react-dom": "^17.0.3", |
37 |
| - "@types/react-router-dom": "^5.1.7", |
| 39 | + "@testing-library/react": "^11.2.7", |
| 40 | + "@types/react": "^17.0.6", |
| 41 | + "@types/react-dom": "^17.0.5", |
38 | 42 | "@types/react-transition-group": "^4.4.1",
|
39 |
| - "@typescript-eslint/eslint-plugin": "^4.22.1", |
40 |
| - "@typescript-eslint/parser": "^4.22.1", |
41 |
| - "awesome-typescript-loader": "^5.2.1", |
42 |
| - "babel-loader": "^8.2.2", |
43 |
| - "babel-plugin-typescript-to-proptypes": "^1.4.2", |
44 |
| - "babel-preset-gatsby": "^1.4.0", |
| 43 | + "@typescript-eslint/eslint-plugin": "^4.24.0", |
| 44 | + "@typescript-eslint/parser": "^4.24.0", |
45 | 45 | "classnames": "^2.3.1",
|
46 |
| - "core-js": "3", |
47 |
| - "docz": "^2.3.1", |
48 |
| - "dom-helpers": "^5.2.1", |
| 46 | + "docz": "latest", |
49 | 47 | "eslint": "^7.26.0",
|
50 | 48 | "eslint-config-prettier": "^8.3.0",
|
51 |
| - "eslint-plugin-jsdoc": "^33.1.0", |
| 49 | + "eslint-plugin-jsdoc": "^34.8.1", |
52 | 50 | "eslint-plugin-prettier": "^3.4.0",
|
53 | 51 | "eslint-plugin-react": "^7.23.2",
|
54 | 52 | "eslint-plugin-react-hooks": "^4.2.0",
|
55 |
| - "gatsby-plugin-google-gtag": "^3.4.0", |
56 |
| - "gatsby-plugin-sass": "^4.4.0", |
57 |
| - "gatsby-plugin-sitemap": "^4.0.0", |
| 53 | + "gatsby-plugin-google-gtag": "2", |
| 54 | + "gatsby-plugin-sass": "3", |
| 55 | + "gatsby-plugin-sitemap": "2", |
58 | 56 | "jest": "^26.6.3",
|
59 |
| - "node-sass": "^6.0.0", |
60 |
| - "prettier": "^2.2.1", |
61 |
| - "prop-types": "^15.7.2", |
| 57 | + "node-sass": "5", |
| 58 | + "prettier": "^2.3.0", |
62 | 59 | "react": "^17.0.1",
|
63 | 60 | "react-dom": "^17.0.1",
|
| 61 | + "react-helmet": "^6.1.0", |
64 | 62 | "react-popper": "^2.2.5",
|
65 |
| - "react-router-dom": "^5.2.0", |
66 | 63 | "react-transition-group": "^4.4.1",
|
67 |
| - "rollup": "^2.47.0", |
| 64 | + "rollup": "^2.48.0", |
68 | 65 | "rollup-plugin-peer-deps-external": "^2.2.4",
|
69 | 66 | "rollup-plugin-typescript2": "^0.30.0",
|
70 |
| - "standard": "^16.0.3", |
71 |
| - "standard-prettier": "^1.0.1", |
72 | 67 | "ts-jest": "^26.5.6",
|
73 | 68 | "typescript": "^4.2.4"
|
74 | 69 | },
|
75 |
| - "peerDependencies": { |
76 |
| - "react": "^17", |
77 |
| - "react-dom": "^17", |
78 |
| - "react-router-dom": "^5.2.0" |
79 |
| - }, |
80 | 70 | "jest": {
|
81 | 71 | "preset": "ts-jest",
|
82 | 72 | "testEnvironment": "jsdom",
|
83 | 73 | "testPathIgnorePatterns": [
|
84 | 74 | "dist/"
|
85 | 75 | ]
|
86 |
| - }, |
87 |
| - "standard": { |
88 |
| - "ignore": [ |
89 |
| - "node_modules/", |
90 |
| - "dist/" |
91 |
| - ], |
92 |
| - "globals": [ |
93 |
| - "describe", |
94 |
| - "it", |
95 |
| - "test", |
96 |
| - "expect", |
97 |
| - "afterAll", |
98 |
| - "jest" |
99 |
| - ] |
100 | 76 | }
|
101 | 77 | }
|
0 commit comments