mirror of
https://github.com/iconify/iconify.git
synced 2024-11-09 23:00:56 +00:00
cleanup: remove old build stuff
This commit is contained in:
parent
84e9b9f277
commit
e20e4d9b36
@ -1,17 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
const { buildFiles } = require('@iconify/library-builder');
|
|
||||||
|
|
||||||
buildFiles({
|
|
||||||
root: __dirname,
|
|
||||||
source: './src',
|
|
||||||
target: './lib',
|
|
||||||
cleanup: true,
|
|
||||||
updateExports: true,
|
|
||||||
})
|
|
||||||
.then(() => {
|
|
||||||
console.log('Done');
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
|
||||||
console.error(err);
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
@ -1,8 +1,10 @@
|
|||||||
// see https://jestjs.io/docs/ecmascript-modules
|
/**
|
||||||
|
* Jest shared configuration: see https://jestjs.io/docs/ecmascript-modules.
|
||||||
/** @type {() => import('ts-jest/dist/types').InitialOptionsTsJest} */
|
*
|
||||||
/** @return {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
* @param {import('ts-jest/dist/types').InitialOptionsTsJest} configuration
|
||||||
const buildConfiguration = (configuration) => {
|
* @return {import('ts-jest/dist/types').InitialOptionsTsJest}
|
||||||
|
*/
|
||||||
|
function buildConfiguration(configuration) {
|
||||||
return Object.assign({}, {
|
return Object.assign({}, {
|
||||||
verbose: true,
|
verbose: true,
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./tsconfig-base.json",
|
|
||||||
"include": ["src/**/*.ts", ".eslintrc.js"],
|
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "./src",
|
|
||||||
"outDir": "./lib"
|
|
||||||
}
|
|
||||||
}
|
|
@ -16,8 +16,7 @@
|
|||||||
"clean": "rimraf lib tests-compiled tsconfig.tsbuildinfo",
|
"clean": "rimraf lib tests-compiled tsconfig.tsbuildinfo",
|
||||||
"lint": "eslint --fix src/**/*.ts",
|
"lint": "eslint --fix src/**/*.ts",
|
||||||
"prebuild": "npm run lint && npm run clean",
|
"prebuild": "npm run lint && npm run clean",
|
||||||
"build": "node build",
|
"build": "unbuild",
|
||||||
"build-dual": "unbuild",
|
|
||||||
"test:jest": "jest --runInBand",
|
"test:jest": "jest --runInBand",
|
||||||
"test:jasmine": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jasmine",
|
"test:jasmine": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jasmine",
|
||||||
"test": "npm run test:jest && npm run test:jasmine",
|
"test": "npm run test:jest && npm run test:jasmine",
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "./src",
|
|
||||||
"outDir": "./lib",
|
|
||||||
"target": "ES2019",
|
|
||||||
"module": "CommonJS",
|
|
||||||
"declaration": true,
|
|
||||||
"declarationMap": false,
|
|
||||||
"sourceMap": false,
|
|
||||||
"composite": true,
|
|
||||||
"strict": true,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"importsNotUsedAsValues": "error"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user