@gumigumih/react-calculator-input-form 1.1.4 → 2.0.0

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,101 +1,100 @@
1
- {
2
- "name": "@gumigumih/react-calculator-input-form",
3
- "version": "1.1.4",
4
- "description": "React電卓入力フォームプラグイン - 税込税抜計算機能付き",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "module": "dist/index.esm.js",
8
- "types": "dist/index.d.ts",
9
- "files": [
10
- "dist"
11
- ],
12
- "exports": {
13
- ".": {
14
- "import": "./dist/index.esm.js",
15
- "require": "./dist/index.js",
16
- "types": "./dist/index.d.ts"
17
- },
18
- "./styles": {
19
- "import": "./src/styles/calculator.css",
20
- "require": "./src/styles/calculator.css"
21
- }
22
- },
23
- "scripts": {
24
- "build": "rollup -c",
25
- "dev": "rollup -c -w",
26
- "test": "jest",
27
- "test:watch": "jest --watch",
28
- "test:coverage": "jest --coverage",
29
- "lint": "eslint src --ext .ts,.tsx",
30
- "typecheck": "tsc -p tsconfig.json --noEmit",
31
- "clean": "rm -rf dist",
32
- "docs:dev": "cd docs && npm run dev",
33
- "docs:build": "cd docs && npm run build",
34
- "docs:preview": "cd docs && npm run preview",
35
- "docs:build:check": "node scripts/verify.js docs-dist",
36
- "verify:dist": "node scripts/verify.js dist",
37
- "verify:version": "node scripts/verify.js version",
38
- "verify:tag": "node scripts/verify.js tag",
39
- "workflow:check": "npm run typecheck && npm run lint && npm test && npm run build && npm run docs:build && npm run verify:dist && npm run docs:build:check && npm run verify:version && npm run verify:tag && npm pack --dry-run"
40
- },
41
- "keywords": [
42
- "react",
43
- "calculator",
44
- "input-form",
45
- "tax",
46
- "typescript",
47
- "split-calculator",
48
- "warimaru",
49
- "japanese",
50
- "mobile-first"
51
- ],
52
- "author": "gumigumih",
53
- "license": "MIT",
54
- "repository": {
55
- "type": "git",
56
- "url": "https://github.com/gumigumih/react-calculator-input-form.git"
57
- },
58
- "bugs": {
59
- "url": "https://github.com/gumigumih/react-calculator-input-form/issues"
60
- },
61
- "homepage": "https://gumigumih.github.io/react-calculator-input-form/",
62
- "publishConfig": {
63
- "access": "public"
64
- },
65
- "peerDependencies": {
66
- "react": ">=16.8.0",
67
- "react-dom": ">=16.8.0"
68
- },
69
- "dependencies": {
70
- "@types/styled-components": "^5.1.34",
71
- "react-number-format": "^5.4.4",
72
- "styled-components": "^6.1.19"
73
- },
74
- "devDependencies": {
75
- "@eslint/js": "^9.34.0",
76
- "@fortawesome/free-solid-svg-icons": "^6.5.0",
77
- "@fortawesome/react-fontawesome": "^0.2.0",
78
- "@rollup/plugin-commonjs": "^25.0.0",
79
- "@rollup/plugin-node-resolve": "^15.0.0",
80
- "@rollup/plugin-typescript": "^11.0.0",
81
- "@testing-library/jest-dom": "^6.8.0",
82
- "@testing-library/react": "^16.3.0",
83
- "@testing-library/user-event": "^14.6.1",
84
- "@types/jest": "^30.0.0",
85
- "@types/react": "^18.0.0",
86
- "@types/react-dom": "^18.0.0",
87
- "@typescript-eslint/eslint-plugin": "^8.42.0",
88
- "@typescript-eslint/parser": "^8.42.0",
89
- "eslint": "^9.34.0",
90
- "husky": "^9.0.0",
91
- "jest": "^30.1.3",
92
- "jest-environment-jsdom": "^30.1.2",
93
- "rollup": "^3.0.0",
94
- "rollup-plugin-copy": "^3.5.0",
95
- "rollup-plugin-peer-deps-external": "^2.2.4",
96
- "rollup-plugin-postcss": "^4.0.2",
97
- "ts-jest": "^29.4.1",
98
- "tslib": "^2.6.2",
99
- "typescript": "^5.0.0"
100
- }
101
- }
1
+ {
2
+ "name": "@gumigumih/react-calculator-input-form",
3
+ "version": "2.0.0",
4
+ "description": "React電卓入力フォームプラグイン - 税込税抜計算機能付き",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.esm.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "sideEffects": [
13
+ "*.css",
14
+ "dist/styles/*.css"
15
+ ],
16
+ "exports": {
17
+ ".": {
18
+ "import": "./dist/index.esm.js",
19
+ "require": "./dist/index.js",
20
+ "types": "./dist/index.d.ts"
21
+ },
22
+ "./styles": {
23
+ "default": "./dist/styles/calculator.css"
24
+ }
25
+ },
26
+ "scripts": {
27
+ "build": "npm run clean && rollup -c",
28
+ "dev": "rollup -c -w",
29
+ "test": "jest --runInBand",
30
+ "test:watch": "jest --watch --runInBand",
31
+ "test:coverage": "jest --coverage --runInBand",
32
+ "lint": "eslint src --ext .ts,.tsx",
33
+ "typecheck": "tsc -p tsconfig.json --noEmit",
34
+ "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
35
+ "docs:dev": "cd docs && npm run dev",
36
+ "docs:build": "cd docs && npm run build",
37
+ "docs:preview": "cd docs && npm run preview",
38
+ "docs:build:check": "node scripts/verify.js docs-dist",
39
+ "verify:dist": "node scripts/verify.js dist",
40
+ "verify:version": "node scripts/verify.js version",
41
+ "verify:tag": "node scripts/verify.js tag",
42
+ "workflow:check": "npm run typecheck && npm run lint && npm test && npm run build && npm run docs:build && npm run verify:dist && npm run docs:build:check && npm run verify:version && npm run verify:tag && npm pack --dry-run"
43
+ },
44
+ "keywords": [
45
+ "react",
46
+ "calculator",
47
+ "input-form",
48
+ "tax",
49
+ "typescript",
50
+ "split-calculator",
51
+ "warimaru",
52
+ "japanese",
53
+ "mobile-first"
54
+ ],
55
+ "author": "gumigumih",
56
+ "license": "MIT",
57
+ "repository": {
58
+ "type": "git",
59
+ "url": "https://github.com/gumigumih/react-calculator-input-form.git"
60
+ },
61
+ "bugs": {
62
+ "url": "https://github.com/gumigumih/react-calculator-input-form/issues"
63
+ },
64
+ "homepage": "https://gumigumih.github.io/react-calculator-input-form/",
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "peerDependencies": {
69
+ "react": ">=16.8.0",
70
+ "react-dom": ">=16.8.0",
71
+ "react-number-format": "^5.4.4"
72
+ },
73
+ "devDependencies": {
74
+ "@eslint/js": "^9.34.0",
75
+ "@fortawesome/free-solid-svg-icons": "^6.5.0",
76
+ "@fortawesome/react-fontawesome": "^0.2.0",
77
+ "@rollup/plugin-commonjs": "^25.0.0",
78
+ "@rollup/plugin-node-resolve": "^15.0.0",
79
+ "@rollup/plugin-typescript": "^11.0.0",
80
+ "@testing-library/jest-dom": "^6.8.0",
81
+ "@testing-library/react": "^16.3.0",
82
+ "@testing-library/user-event": "^14.6.1",
83
+ "@types/jest": "^30.0.0",
84
+ "@types/react": "^18.0.0",
85
+ "@types/react-dom": "^18.0.0",
86
+ "@typescript-eslint/eslint-plugin": "^8.42.0",
87
+ "@typescript-eslint/parser": "^8.42.0",
88
+ "eslint": "^9.34.0",
89
+ "husky": "^9.0.0",
90
+ "jest": "^30.1.3",
91
+ "jest-environment-jsdom": "^30.1.2",
92
+ "rollup": "^3.0.0",
93
+ "rollup-plugin-copy": "^3.5.0",
94
+ "rollup-plugin-peer-deps-external": "^2.2.4",
95
+ "rollup-plugin-postcss": "^4.0.2",
96
+ "ts-jest": "^29.4.1",
97
+ "tslib": "^2.6.2",
98
+ "typescript": "^5.0.0"
99
+ }
100
+ }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom';
@@ -1,6 +0,0 @@
1
- declare const styles: string;
2
- export default styles;
3
- declare module '*.css' {
4
- const content: string;
5
- export default content;
6
- }
@@ -1 +0,0 @@
1
-