amotify 0.2.6 → 0.2.7

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,20 +1,16 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "UI Component for React,NextJS,esbuild",
5
5
  "scripts": {
6
+ "start": "run-p clean build:*",
6
7
  "clean": "rimraf dist",
7
- "start": "run-p clean start:*",
8
- "start:component": "npx ts-node bundler.ts",
9
- "start:component_watch": "nodemon --watch src --ext tsx,scss --exec \"npx ts-node bundler.ts\"",
10
- "start:style": "npx ts-node bundler_style.ts",
11
- "start:style_watch": "nodemon --watch src --ext tsx,scss --exec \"npx ts-node bundler_style.ts\"",
12
- "start:declaration": "npx tsc && tsc-alias",
13
- "start:declaration_watch": "nodemon --watch src --exec \"npx tsc && tsc-alias\"",
14
- "demo:esbuild": "run-p demo_esbuild:*",
15
- "demo_esbuild:server": "ts-node-dev --files --respawn demo/esbuild/server.ts",
16
- "demo_esbuild:front": "npx ts-node demo/esbuild/bundler.ts",
17
- "demo_esbuild:front_watch": "nodemon --watch dist --watch demo/esbuild/app.tsx --ext tsx,scss --exec \"npx ts-node demo/esbuild/bundler.ts\""
8
+ "build:element": "nodemon --config nodemon.element.json",
9
+ "build:style": "nodemon --config nodemon.style.json",
10
+ "build:declare": "nodemon --config nodemon.declare.json",
11
+ "demo_esbuild": "run-p demo:esbuild:*",
12
+ "demo:esbuild:server": "ts-node-dev --files --respawn demo/esbuild/server.ts",
13
+ "demo:esbuild:front": "nodemon --config demo/esbuild/nodemon.json"
18
14
  },
19
15
  "repository": {
20
16
  "type": "git",
@@ -93,7 +89,7 @@
93
89
  "@fortawesome/free-regular-svg-icons": "^6.5.2",
94
90
  "@fortawesome/free-solid-svg-icons": "^6.5.1",
95
91
  "@fortawesome/react-fontawesome": "^0.2.0",
96
- "@mingoo/jsmin": "^0.0.44",
92
+ "@mingoo/jsmin": "^0.0.46",
97
93
  "react": "^18.3.1"
98
94
  },
99
95
  "devDependencies": {
package/bundler_style.ts DELETED
@@ -1,37 +0,0 @@
1
- import esbuild from 'esbuild'
2
- import { sassPlugin,postcssModules } from 'esbuild-sass-plugin'
3
-
4
- esbuild.build( {
5
- format: 'esm',
6
- bundle: true,
7
- minify: true,
8
- target: [ "ES6" ],
9
- platform: 'node',
10
- entryPoints: [
11
- './src/@styles/componentClasses/index.tsx',
12
- './src/@styles/style.tsx',
13
- './src/@styles/init.tsx',
14
- './src/@styles/index.tsx',
15
- './src/@styles/var.tsx'
16
- ],
17
- outbase: './src',
18
- outdir: './dist',
19
- plugins: [
20
- sassPlugin( {
21
- type: 'css',
22
- filter: /\.module\.scss$/,
23
- importMapper: ( path ) => {
24
- let resolvedPath = path
25
- .replace( /@props/,__dirname + '/src/@styles/props.scss' )
26
- .replace( /@mixin/,__dirname + '/src/@styles/mixin.scss' )
27
- return resolvedPath
28
- },
29
- transform: postcssModules( {
30
-
31
- } )
32
- } ),
33
- sassPlugin( {
34
- type: 'css'
35
- } )
36
- ]
37
- } )