amotify 0.1.0 → 0.1.2
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/bundler.ts +7 -2
- package/dist/amotify.min.js +1 -1
- package/package.json +8 -3
- package/tsconfig.json +0 -1
package/bundler.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { sassPlugin,postcssModules } from 'esbuild-sass-plugin'
|
|
|
4
4
|
|
|
5
5
|
let project = {
|
|
6
6
|
name: 'amotify',
|
|
7
|
-
ver: 'v0.
|
|
7
|
+
ver: 'v0.1.1',
|
|
8
8
|
author: 'mingoo, LLC.',
|
|
9
9
|
details: 'https://mingoo.co.jp/'
|
|
10
10
|
}
|
|
@@ -23,6 +23,9 @@ let jsBanner = `/**
|
|
|
23
23
|
`
|
|
24
24
|
|
|
25
25
|
esbuild.build( {
|
|
26
|
+
define: {
|
|
27
|
+
'process.env.NODE_ENV': '"production"'
|
|
28
|
+
},
|
|
26
29
|
bundle: true,
|
|
27
30
|
minify: true,
|
|
28
31
|
target: [ "ES6" ],
|
|
@@ -57,4 +60,6 @@ esbuild.build( {
|
|
|
57
60
|
banner: {
|
|
58
61
|
js: jsBanner
|
|
59
62
|
},
|
|
60
|
-
} )
|
|
63
|
+
} )
|
|
64
|
+
|
|
65
|
+
// npm publish --access=public
|
package/dist/amotify.min.js
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amotify",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "UI FW for React",
|
|
5
5
|
"main": "dist/amotify.min.js",
|
|
6
6
|
"types": "dist/amotify.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"clean": "rimraf dist",
|
|
9
|
+
"devCDN:webpack": "webpack --mode development --watch",
|
|
10
|
+
"devCDN:server": "nodemon app.js",
|
|
11
|
+
"proCDN:webpack": "webpack --mode production",
|
|
12
|
+
"build": "run-p clean proCDN:*",
|
|
9
13
|
|
|
10
|
-
"start": "run-p build:*",
|
|
11
|
-
|
|
14
|
+
"start": "run-p clean build:*",
|
|
15
|
+
|
|
16
|
+
"_start:webpack": "webpack --mode development --watch",
|
|
12
17
|
|
|
13
18
|
"build:component": "npx ts-node bundler.ts",
|
|
14
19
|
"build:component_watch": "nodemon --watch src --ext tsx --ext scss --exec \"npx ts-node bundler.ts\"",
|