@anov/gis 1.6.2 → 1.6.4
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/README.md +21 -64
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/packages/cesiumthreelib/rollup.config.mjs +30 -0
- package/packages/cesiumthreelib/tsconfig.json +22 -0
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import pkg from './package.json' assert { type: 'json' };
|
|
2
|
+
import rollupReplace from '@rollup/plugin-replace';
|
|
3
|
+
import rollupTypescript from '@rollup/plugin-typescript';
|
|
4
|
+
import typescript from 'typescript';
|
|
5
|
+
|
|
6
|
+
const license = `/*!
|
|
7
|
+
* ${ pkg.name }
|
|
8
|
+
*/`;
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
input: 'src/index.ts',
|
|
12
|
+
output: [
|
|
13
|
+
{
|
|
14
|
+
format: 'es',
|
|
15
|
+
file: pkg.module,
|
|
16
|
+
banner: license,
|
|
17
|
+
indent: '\t',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
format: 'cjs',
|
|
21
|
+
file: pkg.main,
|
|
22
|
+
banner: license,
|
|
23
|
+
indent: '\t',
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
plugins: [
|
|
27
|
+
rollupReplace( { preventAssignment: true, __VERSION: pkg.version } ),
|
|
28
|
+
rollupTypescript( { typescript } ),
|
|
29
|
+
],
|
|
30
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": "src",
|
|
4
|
+
"outDir": "./dist",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"target": "es2017",
|
|
7
|
+
"lib": ["es2017", "dom"],
|
|
8
|
+
"strict": true,
|
|
9
|
+
"removeComments": false,
|
|
10
|
+
"experimentalDecorators": true,
|
|
11
|
+
"noImplicitAny": true,
|
|
12
|
+
"noImplicitThis": true,
|
|
13
|
+
"noImplicitReturns": true,
|
|
14
|
+
"noUnusedLocals": true,
|
|
15
|
+
"noUnusedParameters": true,
|
|
16
|
+
"strictNullChecks": true,
|
|
17
|
+
"strictFunctionTypes": true,
|
|
18
|
+
"noFallthroughCasesInSwitch": true
|
|
19
|
+
},
|
|
20
|
+
"include": ["src/**/*"],
|
|
21
|
+
"exclude": ["node_modules"]
|
|
22
|
+
}
|