diff --git a/package.json b/package.json index 335e60a0f5..bd6aa088cb 100644 --- a/package.json +++ b/package.json @@ -144,12 +144,17 @@ "contracts:compile:v3": "typechain --target ethers-v5 --out-dir src/types/v3 \"./node_modules/@uniswap/**/artifacts/contracts/**/*.json\"", "contracts:compile": "yarn contracts:compile:abi && yarn contracts:compile:v3", "graphql:generate": "graphql-codegen --config codegen.yml", + "prei18n:extract": "touch src/locales/en-US.po", "postinstall": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", "i18n:extract": "lingui extract --locale en-US", "i18n:compile": "yarn i18n:extract && lingui compile", - "prei18n:extract": "touch src/locales/en-US.po", + "i18n:pseudo": "lingui extract --locale pseudo && lingui compile", + "prepare": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", + "prepublishOnly": "yarn widgets:build", + "test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'", + "widgets:start": "cosmos", + "widgets:build": "rollup --config --failAfterWarnings --configPlugin typescript2", "bundle": "microbundle --tsconfig tsconfig.lib.json src/lib/index.tsx --format esm,cjs", - "cosmos": "cross-env FAST_REFRESH=false cosmos", "sitemap": "node src/custom/sitemap", "writeVersion": "node src/custom/writeVersion" },