2019-01-28 23:34:56 +00:00
|
|
|
{
|
|
|
|
"name": "@woocommerce/number",
|
2022-07-08 02:04:49 +00:00
|
|
|
"version": "2.4.0",
|
2019-01-28 23:34:56 +00:00
|
|
|
"description": "Number formatting utilities for WooCommerce.",
|
|
|
|
"author": "Automattic",
|
2019-05-18 04:19:20 +00:00
|
|
|
"license": "GPL-3.0-or-later",
|
2022-09-26 22:30:52 +00:00
|
|
|
"engines": {
|
2023-04-25 06:49:30 +00:00
|
|
|
"node": "^16.14.1",
|
2023-07-18 02:27:18 +00:00
|
|
|
"pnpm": "^8.6.7"
|
2022-09-26 22:30:52 +00:00
|
|
|
},
|
2019-01-28 23:34:56 +00:00
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce"
|
|
|
|
],
|
2022-04-07 08:50:40 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/number/README.md",
|
2019-01-28 23:34:56 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-04-07 08:50:40 +00:00
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
2019-01-28 23:34:56 +00:00
|
|
|
},
|
|
|
|
"bugs": {
|
2022-04-07 08:50:40 +00:00
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
2019-01-28 23:34:56 +00:00
|
|
|
},
|
|
|
|
"main": "build/index.js",
|
|
|
|
"module": "build-module/index.js",
|
2022-05-19 03:34:58 +00:00
|
|
|
"types": "build-types",
|
2019-01-28 23:34:56 +00:00
|
|
|
"react-native": "src/index",
|
|
|
|
"dependencies": {
|
2022-03-08 02:11:12 +00:00
|
|
|
"locutus": "^2.0.16"
|
2019-01-28 23:34:56 +00:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2021-07-14 20:38:57 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2023-03-23 18:25:42 +00:00
|
|
|
"turbo:build": "tsc --project tsconfig.json && tsc --project tsconfig-cjs.json",
|
2022-08-05 00:03:17 +00:00
|
|
|
"turbo:test": "jest --config ./jest.config.json",
|
2022-07-07 02:53:59 +00:00
|
|
|
"prepare": "composer install",
|
2022-06-09 21:40:07 +00:00
|
|
|
"changelog": "composer exec -- changelogger",
|
2022-03-04 04:01:16 +00:00
|
|
|
"clean": "pnpm exec rimraf tsconfig.tsbuildinfo build build-*",
|
2022-09-15 21:21:42 +00:00
|
|
|
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
2023-10-06 22:41:47 +00:00
|
|
|
"test": "pnpm test:js",
|
|
|
|
"test:js": "pnpm -w exec turbo run turbo:test --filter=$npm_package_name",
|
dev: edited package.json lint scripts to output to console (#41498)
* edited package.jsons to output to console
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/navigation, @woocommerce/integrate-plugin, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/components, @woocommerce/block-templates, @woocommerce/api, @woocommerce/ai, @woocommerce/admin-layout, @woocommerce/admin-e2e-tests
* empty commit to trigger CI
---------
Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 03:16:08 +00:00
|
|
|
"lint": "eslint src",
|
2023-03-23 18:25:42 +00:00
|
|
|
"start": "concurrently \"tsc --project tsconfig.json --watch\" \"tsc --project tsconfig-cjs.json --watch\"",
|
2022-03-04 04:01:16 +00:00
|
|
|
"prepack": "pnpm run clean && pnpm run build",
|
2022-04-26 22:47:07 +00:00
|
|
|
"lint:fix": "eslint src --fix",
|
2021-07-14 20:38:57 +00:00
|
|
|
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
|
2022-03-15 03:04:46 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.17.5",
|
2022-08-05 00:03:17 +00:00
|
|
|
"@babel/runtime": "^7.17.2",
|
2022-08-31 04:06:51 +00:00
|
|
|
"@types/jest": "^27.4.1",
|
|
|
|
"@types/lodash": "^4.14.184",
|
2022-04-26 23:16:35 +00:00
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2023-03-24 01:02:20 +00:00
|
|
|
"@woocommerce/internal-js-tests": "workspace:*",
|
2023-02-02 10:25:04 +00:00
|
|
|
"eslint": "^8.32.0",
|
2022-03-15 03:04:46 +00:00
|
|
|
"jest": "^27.5.1",
|
|
|
|
"jest-cli": "^27.5.1",
|
2023-03-23 18:25:42 +00:00
|
|
|
"concurrently": "^7.0.0",
|
2022-03-15 03:04:46 +00:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"ts-jest": "^27.1.3",
|
2023-08-08 04:35:31 +00:00
|
|
|
"typescript": "^5.1.6"
|
2022-04-06 08:58:17 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.(t|j)s?(x)": [
|
2022-04-26 22:47:07 +00:00
|
|
|
"pnpm lint:fix",
|
2022-04-06 08:58:17 +00:00
|
|
|
"pnpm test-staged"
|
|
|
|
]
|
2019-01-28 23:34:56 +00:00
|
|
|
}
|
2019-01-29 23:37:25 +00:00
|
|
|
}
|