Clean up build config files

This commit is contained in:
Paulo Gustavo Veiga 2021-12-18 14:55:01 -08:00
parent c3091d5e1d
commit 048104efde
9 changed files with 13 additions and 23 deletions

View File

@ -1,7 +1,7 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "commonjs",
"module": "ES6",
},
"exclude": ["node_modules"]
}

View File

@ -1,13 +1,10 @@
{
"name": "@wisemapping/core-js",
"version": "0.0.1",
"description": "core-js",
"license": "ISC",
"version": "0.4.0",
"description": "WiseMapping - Core Common Libraries",
"homepage": "http://www.wisemapping.org/",
"license": "MIT",
"main": "dist/core.js",
"directories": {
"lib": "src",
"test": "__tests__"
},
"files": [
"src"
],

View File

@ -3,9 +3,7 @@
"baseUrl": ".",
"module": "ES6",
"paths": {
"@libraries/*": ["../../libraries/*"],
"@wisemapping/web2d": ["../web2d/*"]
}
"@libraries/*": ["../../libraries/*"] }
},
"exclude": ["node_modules"]
}

View File

@ -32,7 +32,7 @@
},
"dependencies": {
"@wisemapping/core-js": "^0.0.1",
"@wisemapping/web2d": "^0.0.1",
"@wisemapping/web2d": "^0.4.0",
"jest": "^27.4.3",
"jquery": "^3.6.0",
"lodash": "^4.17.21"

View File

@ -26,7 +26,6 @@ module.exports = {
resolve: {
alias: {
'@libraries': path.resolve(__dirname, '../../libraries/'),
'@wisemapping/web2d': path.resolve(__dirname, '../web2d/'),
},
extensions: ['.js', '.json'],
},

View File

@ -1,7 +1,7 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "commonjs",
"module": "ES6",
},
"exclude": ["node_modules"]
}

View File

@ -1,21 +1,17 @@
{
"name": "@wisemapping/web2d",
"version": "0.0.1",
"version": "0.4.0",
"description": "WiseMapping - Web2D Render Library",
"homepage": "http://www.wisemapping.org/",
"license": "ISC",
"main": "dist/main.js",
"directories": {
"src": "src",
"test": "__tests__"
},
"license": "MIT",
"main": "dist/web2d.js",
"files": [
"src"
],
"private": false,
"publishConfig": {
"registry": "https://registry.yarnpkg.com"
},
"private": false,
"repository": {
"type": "git",
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"

View File

@ -5,7 +5,7 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin');
module.exports = {
output: {
path: path.resolve(__dirname, 'dist'),
filename: '[name].js',
filename: 'web2d.js',
publicPath: '',
library: {
type: 'umd',