chore: use tsc for compilation instead of webpack
This diff is collapsed.
... | ... | @@ -11,32 +11,25 @@ |
"Typescript" | ||
], | ||
"files": [ | ||
"build" | ||
"lib" | ||
], | ||
"main": "./build/index.js", | ||
"types": "./build/lib/index.d.ts", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"devDependencies": { | ||
"copy-webpack-plugin": "^4.5.2", | ||
"source-map-loader": "^0.2.3", | ||
"ts-loader": "^4.4.2", | ||
"typedoc": "^0.19.0", | ||
"typescript": "^2.9.2", | ||
"typescript-formatter": "^7.2.2", | ||
"webpack": "^4.20.2", | ||
"webpack-cli": "^3.1.1" | ||
"@typescript-eslint/eslint-plugin": "^4.14.2", | ||
"@typescript-eslint/parser": "^4.14.2", | ||
"eslint": "^7.19.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"prettier": "^2.2.1", | ||
"typescript": "^4.1.3" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf build", | ||
"format": "npx prettier --check ./src/**/*.{jsx,tsx,ts,js,css}", | ||
"lint": "npx tsc --noEmit", | ||
"build": "webpack", | ||
"build:production": "NODE_ENV=production webpack", | ||
"prepublishOnly": "NODE_ENV=production webpack", | ||
"doc": "typedoc --mode modules --out build/docs --exclude '**/*.test.ts' 'src/'" | ||
"clean": "rm -rf lib", | ||
"format": "prettier --check ./src/**/*.{jsx,tsx,ts,js,css}", | ||
"lint": "eslint ./src/**/*.{js,ts}", | ||
"build": "tsc" | ||
}, | ||
"author": "LOGILAB <contact@logilab.fr>", | ||
"license": "LGPL-3.0", | ||
"dependencies": { | ||
"@logilab/sparqlutils": "0.0.1" | ||
} | ||
"license": "LGPL-3.0" | ||
} |
tsfmt.json
deleted
100644 → 0
tslint.json
deleted
100644 → 0
webpack.config.js
deleted
100644 → 0
Please register or sign in to comment