commit
b12de19975
|
@ -40,6 +40,9 @@ vendor/
|
||||||
# TypeScript files
|
# TypeScript files
|
||||||
tsconfig.tsbuildinfo
|
tsconfig.tsbuildinfo
|
||||||
|
|
||||||
|
# Node Package Dependencies
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
# wp-env config
|
# wp-env config
|
||||||
.wp-env.override.json
|
.wp-env.override.json
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"description": "API tests for WooCommerce",
|
"description": "API tests for WooCommerce",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"preinstall": "npx only-allow pnpm",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:api": "jest --group=api",
|
"test:api": "jest --group=api",
|
||||||
"test:hello": "jest --group=hello",
|
"test:hello": "jest --group=hello",
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
],
|
],
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"preinstall": "npx only-allow pnpm",
|
||||||
"clean": "rm -rf ./dist ./tsconfig.tsbuildinfo",
|
"clean": "rm -rf ./dist ./tsconfig.tsbuildinfo",
|
||||||
"compile": "tsc -b",
|
"compile": "tsc -b",
|
||||||
"build": "pnpm run clean && npm run compile",
|
"build": "pnpm run clean && npm run compile",
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"preinstall": "npx only-allow pnpm",
|
||||||
"build": "./bin/build.sh",
|
"build": "./bin/build.sh",
|
||||||
"prepare": "pnpm run build"
|
"prepare": "pnpm run build"
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"preinstall": "npx only-allow pnpm",
|
||||||
"clean": "rm -rf ./build ./build-module",
|
"clean": "rm -rf ./build ./build-module",
|
||||||
"compile": "node ./../bin/build.js",
|
"compile": "node ./../bin/build.js",
|
||||||
"build": "pnpm run clean && pnpm run compile",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"preinstall": "npx only-allow pnpm",
|
||||||
"clean": "rm -rf ./build ./build-module",
|
"clean": "rm -rf ./build ./build-module",
|
||||||
"compile": "node ./../bin/build.js",
|
"compile": "node ./../bin/build.js",
|
||||||
"build": "pnpm run clean && pnpm run compile",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
|
|
Loading…
Reference in New Issue