aha-components 1.3.3 → 1.4.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,6 +1,6 @@
1
1
  {
2
2
  "name": "aha-components",
3
- "version": "1.3.3",
3
+ "version": "1.4.0",
4
4
  "description": "A React component library with tree-shaking support",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -23,6 +23,28 @@
23
23
  "README.md",
24
24
  "CHANGELOG.md"
25
25
  ],
26
+ "scripts": {
27
+ "build": "rollup -c",
28
+ "dev": "NODE_OPTIONS=--max-old-space-size=8192 rollup -c -w",
29
+ "test": "jest",
30
+ "test:watch": "jest --watch",
31
+ "storybook": "NODE_OPTIONS=--max-old-space-size=8192 storybook dev -p 6006",
32
+ "build-storybook": "NODE_OPTIONS=--max-old-space-size=8192 storybook build",
33
+ "lint": "eslint src --ext .ts,.tsx",
34
+ "lint:fix": "eslint src --ext .ts,.tsx --fix",
35
+ "type-check": "tsc --noEmit",
36
+ "dev:example": "vite examples --port 3000",
37
+ "build:example": "vite build examples",
38
+ "generate": "node scripts/generate-component.js",
39
+ "generate:advanced": "node scripts/generate-component-advanced.js",
40
+ "prepublishOnly": "npm run build",
41
+ "release": "npm run build && npm publish",
42
+ "publish:script": "node scripts/publish.js",
43
+ "deploy:docs": "node scripts/deploy-docs.js",
44
+ "deploy:netlify": "node scripts/deploy-netlify.js",
45
+ "docs:build": "npm run build-storybook",
46
+ "docs:deploy": "npm run build-storybook && npx storybook-to-ghpages"
47
+ },
26
48
  "keywords": [
27
49
  "react",
28
50
  "components",
@@ -85,26 +107,5 @@
85
107
  "ts-jest": "^29.4.0",
86
108
  "typescript": "^5.0.0",
87
109
  "vite": "^4.0.0"
88
- },
89
- "scripts": {
90
- "build": "rollup -c",
91
- "dev": "NODE_OPTIONS=--max-old-space-size=8192 rollup -c -w",
92
- "test": "jest",
93
- "test:watch": "jest --watch",
94
- "storybook": "NODE_OPTIONS=--max-old-space-size=8192 storybook dev -p 6006",
95
- "build-storybook": "NODE_OPTIONS=--max-old-space-size=8192 storybook build",
96
- "lint": "eslint src --ext .ts,.tsx",
97
- "lint:fix": "eslint src --ext .ts,.tsx --fix",
98
- "type-check": "tsc --noEmit",
99
- "dev:example": "vite examples --port 3000",
100
- "build:example": "vite build examples",
101
- "generate": "node scripts/generate-component.js",
102
- "generate:advanced": "node scripts/generate-component-advanced.js",
103
- "release": "npm run build && npm publish",
104
- "publish:script": "node scripts/publish.js",
105
- "deploy:docs": "node scripts/deploy-docs.js",
106
- "deploy:netlify": "node scripts/deploy-netlify.js",
107
- "docs:build": "npm run build-storybook",
108
- "docs:deploy": "npm run build-storybook && npx storybook-to-ghpages"
109
110
  }
110
- }
111
+ }