aport-tools 4.0.0 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -3
- package/dist/Theme/index.d.ts +1 -1
- package/dist/buttons/index.d.ts +1 -0
- package/dist/cards/Card.d.ts +57 -0
- package/dist/cards/index.d.ts +1 -0
- package/dist/components/Button.d.ts +36 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +211 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +210 -5
- package/dist/index.js.map +1 -1
- package/dist/styles/colors.d.ts +1 -0
- package/package.json +11 -4
- package/.babelrc +0 -7
- package/.expo/README.md +0 -15
- package/.expo/devices.json +0 -3
- package/.expo/settings.json +0 -8
- package/App.tsx +0 -41
- package/app.json +0 -5
- package/rollup.config.mjs +0 -53
package/rollup.config.mjs
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
// rollup.config.mjs
|
2
|
-
|
3
|
-
import babel from '@rollup/plugin-babel';
|
4
|
-
import json from '@rollup/plugin-json';
|
5
|
-
import typescript from '@rollup/plugin-typescript';
|
6
|
-
import commonjs from '@rollup/plugin-commonjs';
|
7
|
-
import resolve from '@rollup/plugin-node-resolve';
|
8
|
-
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
|
9
|
-
import pkg from './package.json' assert { type: 'json' };
|
10
|
-
|
11
|
-
export default {
|
12
|
-
input: 'src/index.ts',
|
13
|
-
output: [
|
14
|
-
{
|
15
|
-
file: pkg.main,
|
16
|
-
format: 'cjs',
|
17
|
-
sourcemap: true,
|
18
|
-
exports: 'named',
|
19
|
-
banner: `/*! ${pkg.name} v${pkg.version} | ${pkg.license} */`,
|
20
|
-
},
|
21
|
-
{
|
22
|
-
file: pkg.module,
|
23
|
-
format: 'esm',
|
24
|
-
sourcemap: true,
|
25
|
-
banner: `/*! ${pkg.name} v${pkg.version} | ${pkg.license} */`,
|
26
|
-
},
|
27
|
-
],
|
28
|
-
plugins: [
|
29
|
-
peerDepsExternal(),
|
30
|
-
resolve({
|
31
|
-
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
32
|
-
}),
|
33
|
-
commonjs(),
|
34
|
-
babel({
|
35
|
-
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
36
|
-
babelHelpers: 'bundled',
|
37
|
-
include: ['src/**/*'],
|
38
|
-
presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
|
39
|
-
}),
|
40
|
-
json(), // Handles JSON imports like package.json
|
41
|
-
typescript({
|
42
|
-
tsconfig: './tsconfig.json',
|
43
|
-
declaration: true,
|
44
|
-
declarationDir: 'dist',
|
45
|
-
emitDeclarationOnly: false,
|
46
|
-
}),
|
47
|
-
],
|
48
|
-
external: [
|
49
|
-
'react',
|
50
|
-
'react-native',
|
51
|
-
'@react-native-async-storage/async-storage',
|
52
|
-
],
|
53
|
-
};
|