@steambrew/ttc 1.2.1 → 1.4.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/rollup.config.js CHANGED
@@ -1,31 +1,31 @@
1
- import commonjs from '@rollup/plugin-commonjs';
2
- import typescript from '@rollup/plugin-typescript';
3
- import json from '@rollup/plugin-json';
4
-
5
- export default {
6
- input: 'index.ts',
7
- context: 'window',
8
- output: {
9
- file: 'dist/index.js'
10
- },
11
- plugins: [commonjs(), typescript(), json()],
12
- external: [
13
- "chalk",
14
- "path",
15
- "url",
16
- "fs/promises",
17
- "fs",
18
- "rollup",
19
- "@rollup/plugin-json",
20
- "@rollup/plugin-commonjs",
21
- "@rollup/plugin-replace",
22
- "@rollup/plugin-typescript",
23
- "@rollup/plugin-node-resolve",
24
- "rollup-plugin-import-css",
25
- "@rollup/plugin-terser",
26
- "@rollup/plugin-babel",
27
- "rollup-plugin-inject-process-env",
28
- "dotenv",
29
- "perf_hooks",
30
- ]
31
- };
1
+ import commonjs from '@rollup/plugin-commonjs';
2
+ import typescript from '@rollup/plugin-typescript';
3
+ import json from '@rollup/plugin-json';
4
+
5
+ export default {
6
+ input: 'index.ts',
7
+ context: 'window',
8
+ output: {
9
+ file: 'dist/index.js',
10
+ },
11
+ plugins: [commonjs(), typescript(), json()],
12
+ external: [
13
+ 'chalk',
14
+ 'path',
15
+ 'url',
16
+ 'fs/promises',
17
+ 'fs',
18
+ 'rollup',
19
+ '@rollup/plugin-json',
20
+ '@rollup/plugin-commonjs',
21
+ '@rollup/plugin-replace',
22
+ '@rollup/plugin-typescript',
23
+ '@rollup/plugin-node-resolve',
24
+ 'rollup-plugin-import-css',
25
+ '@rollup/plugin-terser',
26
+ '@rollup/plugin-babel',
27
+ 'rollup-plugin-inject-process-env',
28
+ 'dotenv',
29
+ 'perf_hooks',
30
+ ],
31
+ };
package/tsconfig.json CHANGED
@@ -1,24 +1,24 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "dist",
4
- "module": "ESNext",
5
- "target": "ES2020",
6
- "jsx": "react",
7
- "jsxFactory": "window.SP_REACT.createElement",
8
- "declaration": false,
9
- "moduleResolution": "node",
10
- "noUnusedLocals": true,
11
- "noUnusedParameters": true,
12
- "esModuleInterop": true,
13
- "noImplicitReturns": true,
14
- "noImplicitThis": true,
15
- "noImplicitAny": true,
16
- "strict": true,
17
- "ignoreDeprecations": "5.0",
18
- "allowSyntheticDefaultImports": true,
19
- "skipLibCheck": true
20
- },
21
- "include": ["./"],
22
- "exclude": ["node_modules"]
23
- }
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "dist",
4
+ "module": "ESNext",
5
+ "target": "ES2020",
6
+ "jsx": "react",
7
+ "jsxFactory": "window.SP_REACT.createElement",
8
+ "declaration": false,
9
+ "moduleResolution": "node",
10
+ "noUnusedLocals": true,
11
+ "noUnusedParameters": true,
12
+ "esModuleInterop": true,
13
+ "noImplicitReturns": true,
14
+ "noImplicitThis": true,
15
+ "noImplicitAny": true,
16
+ "strict": true,
17
+ "ignoreDeprecations": "5.0",
18
+ "allowSyntheticDefaultImports": true,
19
+ "skipLibCheck": true
20
+ },
21
+ "include": ["./"],
22
+ "exclude": ["node_modules"]
23
+ }
24
24