mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
tweak build
This commit is contained in:
parent
0c259facaf
commit
8eba9eb99f
20
package.json
20
package.json
@ -5,7 +5,7 @@
|
||||
"directories": {
|
||||
"example": "./sandbox"
|
||||
},
|
||||
"main": "./src/index.ts",
|
||||
"main": "./dist/js/index.js",
|
||||
"style": "./css/og.css",
|
||||
"scripts": {
|
||||
"docs": "jsdoc -r ./src/ -c ./jsdoc.conf.json -d ./docs",
|
||||
@ -15,7 +15,6 @@
|
||||
"test": "jest --env=jsdom --runInBand --ci --coverage=false",
|
||||
"test_watch": "jest --env=jsdom --watch",
|
||||
"lint": "eslint -c ./.eslintrc.js src/",
|
||||
"gen_types": "tsc --build tsconfig.d.json",
|
||||
"gen_js": "tsc --build tsconfig.json --declaration",
|
||||
"font": "node ./fonts/index.js"
|
||||
},
|
||||
@ -30,21 +29,11 @@
|
||||
"email": "mgevlich@gmail.com"
|
||||
},
|
||||
"homepage": "https://www.openglobus.org",
|
||||
"exports": {
|
||||
".": "./src/index.js",
|
||||
"./layer": "./src/layer/index.js",
|
||||
"./bv": "./src/index.js",
|
||||
"./terrain": "./src/terrain/index.js",
|
||||
"./entity": "./src/entity/index.js",
|
||||
"./control": "./src/control/index.js",
|
||||
"./webgl": "./src/webgl/index.js",
|
||||
"./scene": "./src/scene/index.js",
|
||||
"./css/og.css": "./css/og.css"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.22.20",
|
||||
"@rollup/plugin-json": "^6.0.0",
|
||||
"@rollup/plugin-terser": "^0.4.3",
|
||||
"@rollup/plugin-typescript": "^11.1.3",
|
||||
"@types/jest": "^29.5.5",
|
||||
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
||||
"@typescript-eslint/parser": "^6.7.2",
|
||||
@ -80,8 +69,5 @@
|
||||
"webgl",
|
||||
"globe",
|
||||
"og"
|
||||
],
|
||||
"dependencies": {
|
||||
"@rollup/plugin-typescript": "^11.1.3"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -1,19 +0,0 @@
|
||||
{
|
||||
"include" : [
|
||||
"./src/**/*"
|
||||
],
|
||||
"exclude" : [
|
||||
"node_modules",
|
||||
"dist"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "out-tsc/types",
|
||||
"declarationMap": true,
|
||||
"target": "es2021",
|
||||
"moduleResolution": "nodenext",
|
||||
"module": "NodeNext"
|
||||
}
|
||||
}
|
||||
@ -20,6 +20,6 @@
|
||||
"strict" : true,
|
||||
"skipLibCheck" : true,
|
||||
"isolatedModules": true,
|
||||
"outDir" : "out-tsc/js"
|
||||
"outDir" : "dist/js"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user