@zuzjs/ui 0.3.5 → 0.3.6
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 +1 -1
- package/jest.config.js +0 -7
- package/rollup.config.js +0 -51
- package/tsconfig.json +0 -21
- package/tsconfig.lib.json +0 -9
- package/tsconfig.spec.json +0 -21
package/package.json
CHANGED
package/jest.config.js
DELETED
package/rollup.config.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import typescript from 'rollup-plugin-typescript2';
|
|
2
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
-
import scss from "rollup-plugin-scss";
|
|
4
|
-
import postcss from 'postcss'
|
|
5
|
-
import livereload from 'rollup-plugin-livereload'
|
|
6
|
-
import { uglify } from 'rollup-plugin-uglify';
|
|
7
|
-
|
|
8
|
-
const isWatching = process && process.argv.includes('-w') || process.argv.includes('--watch')
|
|
9
|
-
const plugins = [
|
|
10
|
-
typescript(),
|
|
11
|
-
commonjs(),
|
|
12
|
-
scss({
|
|
13
|
-
processor: () => postcss(),
|
|
14
|
-
fileName: 'styles.css',
|
|
15
|
-
failOnError: true
|
|
16
|
-
}),
|
|
17
|
-
!isWatching && uglify()
|
|
18
|
-
// livereload()
|
|
19
|
-
]
|
|
20
|
-
const externals = [
|
|
21
|
-
"react","react-children-utilities","js-cookie","axios","nanoid","hashids","react/jsx-runtime","prop-types"
|
|
22
|
-
]
|
|
23
|
-
|
|
24
|
-
export default [
|
|
25
|
-
{
|
|
26
|
-
input: ["src/ui.tsx"],
|
|
27
|
-
output: [
|
|
28
|
-
{
|
|
29
|
-
dir: "dist",
|
|
30
|
-
entryFileNames: "[name].js",
|
|
31
|
-
format: "es",
|
|
32
|
-
exports: "named",
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
plugins: plugins,
|
|
36
|
-
externals: externals
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
input: ["src/hooks.tsx"],
|
|
40
|
-
output: [
|
|
41
|
-
{
|
|
42
|
-
dir: "dist",
|
|
43
|
-
entryFileNames: "[name].js",
|
|
44
|
-
format: "es",
|
|
45
|
-
exports: "named",
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
plugins: plugins,
|
|
49
|
-
externals: externals
|
|
50
|
-
}
|
|
51
|
-
]
|
package/tsconfig.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es2017",
|
|
4
|
-
"jsx": "react-jsx",
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"allowSyntheticDefaultImports": true,
|
|
8
|
-
"moduleResolution":"node",
|
|
9
|
-
"module": "ESNext",
|
|
10
|
-
},
|
|
11
|
-
"files": [],
|
|
12
|
-
"include": [],
|
|
13
|
-
"references": [
|
|
14
|
-
{
|
|
15
|
-
"path": "./tsconfig.lib.json"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"path": "./tsconfig.spec.json"
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|
package/tsconfig.lib.json
DELETED
package/tsconfig.spec.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"outDir": "./dist/out-tsc",
|
|
5
|
-
"module": "commonjs",
|
|
6
|
-
"types": [
|
|
7
|
-
"jest",
|
|
8
|
-
"node"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"**/*.spec.ts",
|
|
13
|
-
"**/*.spec.tsx",
|
|
14
|
-
"**/*.spec.js",
|
|
15
|
-
"**/*.spec.jsx",
|
|
16
|
-
"**/*.d.ts"
|
|
17
|
-
],
|
|
18
|
-
"exclude": [
|
|
19
|
-
"node_modules"
|
|
20
|
-
]
|
|
21
|
-
}
|