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 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.0.1',
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
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify v0.0.1
3
+ * amotify v0.1.1
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
package/package.json CHANGED
@@ -1,14 +1,19 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.1.0",
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
- "build:clean": "rimraf dist",
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\"",
package/tsconfig.json CHANGED
@@ -5,7 +5,6 @@
5
5
  "dom.iterable"
6
6
  ],
7
7
  "jsx": "react",
8
- // "target": "es5",
9
8
  "target": "ES2016",
10
9
  "module": "commonjs",
11
10
  "baseUrl": "./",