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