Fix dependencies for some of the scripts, and removed some we're not likely to use for now
This commit is contained in:
parent
2dc701c5b7
commit
581e66c022
@ -1,4 +1,3 @@
|
|||||||
console.log("Do i get called");
|
|
||||||
/** @type {import('@types/babel-core').TransformOptions} */
|
/** @type {import('@types/babel-core').TransformOptions} */
|
||||||
const babelConfig ={
|
const babelConfig ={
|
||||||
presets: [
|
presets: [
|
||||||
|
|||||||
21
package.json
21
package.json
@ -21,21 +21,15 @@
|
|||||||
"module": "./dist/es/index.js",
|
"module": "./dist/es/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
"types": "./types/index.d.ts",
|
"types": "./types/index.d.ts",
|
||||||
"import": "./dist/es/index.js",
|
"import": "./dist/es/index.js"
|
||||||
"default": "./dist/cjs/index.js"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
|
|
||||||
"ci:lint": "pnpm build && pnpm lint",
|
|
||||||
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
|
|
||||||
"ci:test": "pnpm test -- --verbose",
|
|
||||||
"prebuild": "del-cli dist",
|
|
||||||
"prerelease": "pnpm build",
|
"prerelease": "pnpm build",
|
||||||
"pretest": "pnpm build",
|
|
||||||
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
|
|
||||||
"test": "ava",
|
"test": "ava",
|
||||||
"test:ts": "tsc --noEmit"
|
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
|
||||||
|
"ci:lint": "pnpm build && pnpm lint-staged",
|
||||||
|
"ci:test": "pnpm test -- --verbose"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
@ -68,16 +62,15 @@
|
|||||||
"del-cli": "^5.0.0",
|
"del-cli": "^5.0.0",
|
||||||
"tslib": "^2.5.0",
|
"tslib": "^2.5.0",
|
||||||
"ava": "^5.2.0",
|
"ava": "^5.2.0",
|
||||||
"@ava/babel": "^2.0.0",
|
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"@babel/core": "^7.21.4",
|
"@babel/core": "^7.21.4",
|
||||||
"@babel/plugin-syntax-import-assertions": "^7.20.0",
|
"@babel/plugin-syntax-import-assertions": "^7.20.0",
|
||||||
"@rollup/plugin-babel": "^6.0.3",
|
"@rollup/plugin-babel": "^6.0.3",
|
||||||
"@rollup/plugin-node-resolve": "^15.0.2",
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
||||||
"rollup-plugin-delete": "^2.0.0",
|
"rollup-plugin-delete": "^2.0.0",
|
||||||
"esm": "^3.2.25",
|
"@babel/preset-typescript": "^7.21.4",
|
||||||
"@node-loader/babel": "^2.0.1",
|
"nyc": "^15.1.0",
|
||||||
"babel-register-esm": "^1.2.4"
|
"lint-staged": "^13.2.1"
|
||||||
},
|
},
|
||||||
"types": "./types/index.d.ts",
|
"types": "./types/index.d.ts",
|
||||||
"ava": {
|
"ava": {
|
||||||
|
|||||||
936
pnpm-lock.yaml
generated
936
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user