@janiscommerce/ui-web 0.0.9 → 0.0.13

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.
package/package.json CHANGED
@@ -1,117 +1,21 @@
1
1
  {
2
+ "main": "index.umd.js",
2
3
  "name": "@janiscommerce/ui-web",
3
- "version": "0.0.9",
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"
4
+ "homepage": "https://github.com/janis-commerce/ui-web#readme",
5
+ "bugs": {
6
+ "url": "https://github.com/janis-commerce/ui-web/issues"
19
7
  },
20
8
  "repository": {
21
9
  "type": "git",
22
10
  "url": "git+https://github.com/janis-commerce/ui-web.git"
23
11
  },
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"
12
+ "version": "0.0.13",
13
+ "dependencies": {
14
+ "prop-types": "^15.7.2",
15
+ "styled-components": "^5.3.0"
99
16
  },
100
17
  "peerDependencies": {
101
18
  "react": "17.x",
102
19
  "react-dom": "17.x"
103
- },
104
- "babel": {
105
- "presets": [
106
- "@babel/preset-env",
107
- "@babel/preset-react"
108
- ]
109
- },
110
- "files": [
111
- "dist"
112
- ],
113
- "dependencies": {
114
- "prop-types": "^15.7.2",
115
- "styled-components": "^5.3.0"
116
20
  }
117
21
  }
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