@janiscommerce/ui-web 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
File without changes
package/package.json CHANGED
@@ -1,115 +1,7 @@
1
1
  {
2
2
  "name": "@janiscommerce/ui-web",
3
- "version": "0.0.11",
4
- "description": "",
5
- "main": "dist/index.umd.js",
6
- "private": false,
7
- "scripts": {
8
- "start": "rollup -c rollup/rollup.config.dev.js -w",
9
- "build": "rollup -c rollup/rollup.config.prod.js",
10
- "lint": "eslint src/",
11
- "test": "jest",
12
- "test-ci": "JEST_JUNIT_OUTPUT_DIR=test-reports jest --coverage --silent --ci --reporters=jest-junit",
13
- "coverage": "jest --coverage --silent",
14
- "storybook": "start-storybook -p 6006 -s public",
15
- "build:storybook": "build-storybook -c .storybook -o ./stories",
16
- "deploy-storybook": "gh-pages -d stories",
17
- "build:icons": "node scripts/build-icons",
18
- "postinstall": "install-peers"
19
- },
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/janis-commerce/ui-web.git"
23
- },
24
- "author": "Janis",
25
- "license": "ISC",
26
- "bugs": {
27
- "url": "https://github.com/janis-commerce/ui-web/issues"
28
- },
29
- "homepage": "https://github.com/janis-commerce/ui-web#readme",
30
- "devDependencies": {
31
- "@babel/core": "^7.15.0",
32
- "@babel/eslint-parser": "^7.14.3",
33
- "@babel/eslint-plugin": "^7.13.16",
34
- "@babel/preset-env": "^7.15.0",
35
- "@babel/preset-react": "^7.13.13",
36
- "@rollup/plugin-babel": "^5.3.0",
37
- "@rollup/plugin-commonjs": "^21.0.3",
38
- "@rollup/plugin-json": "^4.1.0",
39
- "@rollup/plugin-node-resolve": "^13.0.0",
40
- "@rollup/plugin-replace": "^4.0.0",
41
- "@storybook/addon-actions": "^6.2.9",
42
- "@storybook/addon-essentials": "^6.2.9",
43
- "@storybook/addon-links": "^6.2.9",
44
- "@storybook/node-logger": "^6.2.9",
45
- "@storybook/react": "^6.2.9",
46
- "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
47
- "babel-jest": "^27.0.6",
48
- "babel-plugin-styled-components": "^2.0.6",
49
- "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
50
- "chalk": "^5.0.0",
51
- "enzyme": "^3.11.0",
52
- "enzyme-to-json": "^3.6.2",
53
- "eslint": "^8.12.0",
54
- "eslint-config-prettier": "^8.3.0",
55
- "eslint-plugin-prettier": "^4.0.0",
56
- "eslint-plugin-react": "^7.23.2",
57
- "gh-pages": "^3.2.3",
58
- "install-peers-cli": "^2.2.0",
59
- "jest": "^27.0.6",
60
- "jest-junit": "^13.1.0",
61
- "jest-styled-components": "^7.0.5",
62
- "prettier": "^2.3.0",
63
- "react-test-renderer": "^17.0.2",
64
- "rollup": "^2.48.0",
65
- "rollup-plugin-generate-package-json": "^3.2.0",
66
- "rollup-plugin-livereload": "^2.0.0",
67
- "rollup-plugin-peer-deps-external": "^2.2.4",
68
- "rollup-plugin-serve": "^1.1.0",
69
- "storybook-dark-mode": "^1.0.8"
70
- },
71
- "jest": {
72
- "snapshotSerializers": [
73
- "enzyme-to-json/serializer"
74
- ],
75
- "collectCoverageFrom": [
76
- "<rootDir>/src/**/*.{js,jsx,mjs}",
77
- "!<rootDir>/src/**/index.{js,jsx,mjs}"
78
- ],
79
- "coveragePathIgnorePatterns": [
80
- "<rootDir>/src/docs"
81
- ],
82
- "modulePaths": [
83
- "<rootDir>/src"
84
- ],
85
- "testMatch": [
86
- "<rootDir>/src/**/*.test.js"
87
- ],
88
- "transform": {
89
- "^.+\\.(js|jsx|mjs|cjs)$": "<rootDir>/node_modules/babel-jest",
90
- "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
91
- },
92
- "transformIgnorePatterns": [
93
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
94
- ],
95
- "setupFiles": [
96
- "<rootDir>/config/jest/setup.js"
97
- ],
98
- "testEnvironment": "jsdom"
99
- },
100
- "peerDependencies": {
101
- "react": "17.x",
102
- "react-dom": "17.x"
103
- },
104
- "babel": {
105
- "presets": [
106
- "@babel/preset-env",
107
- "@babel/preset-react"
108
- ]
109
- },
110
- "files": [
111
- "dist"
112
- ],
3
+ "main": "index.umd.js",
4
+ "version": "0.0.12",
113
5
  "dependencies": {
114
6
  "prop-types": "^15.7.2",
115
7
  "styled-components": "^5.3.0"
package/CHANGELOG.md DELETED
@@ -1,22 +0,0 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
-
4
- The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
- and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
-
7
- ## [Unreleased]
8
-
9
- ## [0.0.2] - 2022-06-11
10
- ### Fixed
11
- - Fix github action error with storybook
12
-
13
- ## [0.0.1] - 2022-06-11
14
- ### Added
15
- - Add Checkbox component
16
- - Add Switch component
17
- - Add Button component
18
- - Add Icon component
19
- - Add Color component
20
- - Add Chip component
21
- - Add base config for make, test and document a react components
22
- - Add base config rollup
package/README.md DELETED
@@ -1,34 +0,0 @@
1
- # @janis-commerce/ui-web
2
-
3
- A package for use generic components from Janis
4
-
5
- ## Installation
6
-
7
- `npm install @janis-commerce/ui-web`
8
-
9
-
10
- ### Usage
11
-
12
- ```js
13
- import React from 'react';
14
- const { Button, Icon } = '@janiscommerce/ui-web';
15
-
16
- const MyComponent = () => {
17
- const handleClick = () => {
18
- console.log('some action');
19
- };
20
-
21
- return (
22
- <div>
23
- <Button onClick={handleClick} variant="contained">Click</Button>
24
- <Icon name="box" color="primary" />
25
- </div>
26
- );
27
- };
28
-
29
- export default MyComponent;
30
- ```
31
-
32
- ### Important
33
-
34
- All the components that can be used and other documentation can be found at ***[https://janis-commerce.github.io/ui-web](https://janis-commerce.github.io/ui-web)***
package/dist/package.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@janiscommerce/ui-web",
3
- "main": "index.umd.js",
4
- "version": "0.0.11",
5
- "dependencies": {
6
- "prop-types": "^15.7.2",
7
- "styled-components": "^5.3.0"
8
- }
9
- }