forked from Automattic/woocommerce-payments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
149 lines (149 loc) · 6.34 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "woocommerce-payments",
"version": "2.8.4",
"main": "webpack.config.js",
"author": "Automattic",
"license": "GPL-3.0-or-later",
"repository": "github:Automattic/woocommerce-payments",
"engines": {
"node": ">=12.16.0",
"npm": ">=6.13.0"
},
"config": {
"wp_org_slug": "woocommerce-payments",
"translate": true,
"translate_project": "woocommerce/woocommerce-payments"
},
"scripts": {
"postinstall": "composer install",
"prepare": "is-ci || husky install",
"build": "npm run build:deps && npm run build:release",
"build:client": "NODE_ENV=production webpack",
"build:deps": "rm -rf vendor && composer install --no-dev --optimize-autoloader",
"build:release": "node tasks/release.js && mv release/$npm_package_name.zip .",
"postbuild:client": "npm run i18n:pot && npm run i18n:build",
"i18n:pot": "wpi18n makepot --domain-path languages --pot-file woocommerce-payments.pot --type plugin --main-file woocommerce-payments.php --exclude bin,dist,docker,node_modules,release,tasks,tests,vendor",
"i18n:build": "php bin/combine-pot-files.php languages/woocommerce-payments-client.pot languages/woocommerce-payments.pot",
"test": "npm run test:js && npm run test:php",
"test:js": "wp-scripts test-unit-js --config tests/js/jest.config.js",
"test:watch": "npm run test:js -- --watch",
"test:debug": "wp-scripts --inspect-brk test-unit-js --runInBand --no-cache --config tests/js/jest.config.js",
"test:e2e-setup": "./tests/e2e/env/setup.sh",
"test:e2e-down": "./tests/e2e/env/down.sh",
"test:e2e-cleanup": "./tests/e2e/env/cleanup.sh",
"test:e2e-reset": "npm run test:e2e-down && npm run test:e2e-cleanup",
"test:e2e": "NODE_CONFIG_DIR='tests/e2e/config' wp-scripts test-e2e --config tests/e2e/config/jest.config.js",
"test:e2e-dev": "NODE_CONFIG_DIR='tests/e2e/config' JEST_PUPPETEER_CONFIG='tests/e2e/config/jest-puppeteer.config.js' wp-scripts test-e2e --config tests/e2e/config/jest.config.js --puppeteer-interactive",
"test:update-snapshots": "npm run test:js -- --updateSnapshot",
"test:php": "./bin/run-tests.sh",
"watch": "webpack --watch",
"start": "npm run watch",
"dev": "npm run up && npm run watch",
"up": "docker-compose up --build --force-recreate -d && ./bin/docker-setup.sh",
"down": "docker-compose down",
"wp": "docker-compose exec -u www-data wordpress wp",
"install-if-deps-outdated": "node bin/install-if-deps-outdated.js",
"lint": "npm run lint:js && npm run lint:css && npm run lint:php",
"lint:css": "stylelint 'client/**/*.scss' 'client/**/*.css' 'assets/**/*.scss' 'assets/**/*.css'",
"lint:js": "tsc --noEmit && eslint . --ext=js,jsx,ts,tsx",
"lint:php": "./vendor/bin/phpcs --standard=phpcs.xml.dist $(git ls-files | grep .php$)",
"lint:php-fix": "./vendor/bin/phpcbf --standard=phpcs.xml.dist $(git ls-files | grep .php$)",
"format": "npm run format:js && npm run format:css",
"format:js": "npm run format:provided '**/*.js' '**/*.ts' '**/*.tsx'",
"format:css": "npm run format:provided '**/*.scss' '**/*.css'",
"format:provided": "prettier --write",
"tube:setup": "./bin/jurassic-tube-setup.sh",
"tube:start": "./docker/bin/jt/tunnel.sh",
"tube:stop": "./docker/bin/jt/tunnel.sh break",
"psalm": "./bin/run-psalm.sh"
},
"dependencies": {
"@stripe/react-stripe-js": "1.4.1",
"@stripe/stripe-js": "1.15.1",
"@woocommerce/explat": "^1.0.1",
"css-loader": "^5.2.6",
"debug": "^4.1.1",
"interpolate-components": "^1.1.1",
"lodash": "^4.17.14",
"wordpress-element": "npm:@wordpress/element@2.11.0"
},
"devDependencies": {
"@automattic/color-studio": "2.3.1",
"@automattic/puppeteer-utils": "github:Automattic/puppeteer-utils",
"@babel/plugin-proposal-object-rest-spread": "7.12.13",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "11.2.5",
"@testing-library/user-event": "10.4.1",
"@types/lodash": "^4.14.170",
"@types/react": "16.14.5",
"@types/wordpress__components": "^9.8.6",
"@types/wordpress__date": "^3.3.2",
"@typescript-eslint/eslint-plugin": "4.15.2",
"@typescript-eslint/parser": "4.15.2",
"@woocommerce/api": "^0.2.0",
"@woocommerce/components": "5.1.2",
"@woocommerce/currency": "3.0.0",
"@woocommerce/date": "2.1.0",
"@woocommerce/e2e-utils": "^0.1.5",
"@woocommerce/eslint-plugin": "1.1.0",
"@woocommerce/experimental": "1.3.0",
"@wordpress/api-fetch": "5.1.1",
"@wordpress/babel-plugin-makepot": "2.1.3",
"@wordpress/babel-preset-default": "4.3.0",
"@wordpress/base-styles": "^3.5.4",
"@wordpress/browserslist-config": "3.0.1",
"@wordpress/components": "11.1.5",
"@wordpress/data": "4.22.1",
"@wordpress/data-controls": "1.6.0",
"@wordpress/date": "3.9.0",
"@wordpress/dependency-extraction-webpack-plugin": "3.0.1",
"@wordpress/e2e-test-utils": "4.11.0",
"@wordpress/element": "^2.20.3",
"@wordpress/hooks": "^3.2.0",
"@wordpress/i18n": "^4.1.1",
"@wordpress/icons": "^2.10.3",
"@wordpress/jest-preset-default": "4.0.0",
"@wordpress/scripts": "12.4.0",
"archiver": "5.2.0",
"babel-loader": "8.2.2",
"classnames": "^2.3.1",
"colors": "1.4.0",
"config": "3.3.6",
"core-js": "3.9.0",
"dotenv": "8.2.0",
"eslint": "7.30.0",
"eslint-config-prettier": "7.2.0",
"eslint-config-wpcalypso": "4.0.1",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-loader": "4.0.2",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-jsdoc-alignment": "0.0.5",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-wpcalypso": "5.0.0",
"husky": "6.0.0",
"is-ci": "^3.0.0",
"lint-staged": "10.5.4",
"mini-css-extract-plugin": "1.3.8",
"node-sass": "5.0.0",
"node-wp-i18n": "^1.2.5",
"postcss": "^8.3.5",
"prettier": "npm:wp-prettier@2.0.5",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-test-renderer": "16.14.0",
"sass-loader": "10.1.1",
"shelljs": "0.8.4",
"source-map-loader": "^1.1.3",
"stylelint": "13.11.0",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-wordpress": "17.0.0",
"ts-jest": "26.5.6",
"ts-loader": "^8.3.0",
"typescript": "4.3.5",
"webpack": "^4.46.0",
"webpack-cli": "4.5.0",
"yarnhook": "^0.5.1"
}
}