-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 4 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 4 KB
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
{
"name": "ab-test-wordpress",
"version": "1.18.2",
"description": "A/B Test right from your WordPress posts.",
"main": "index.js",
"scripts": {
"e2e:open": "cypress open",
"e2e:run": "cypress run",
"e2e:docker-compose": "docker-compose -p ab-testing-for-wp-e2e -f docker-compose-e2e.yml",
"e2e:down": "npm run e2e:docker-compose -- down -v",
"e2e:up": "npm run e2e:docker-compose -- up -d",
"e2e:wipe-db": "npm run e2e:docker-compose -- exec -T db_e2e mysql -u root --password=root_wordpress -e \"DROP DATABASE wordpress_e2e; CREATE DATABASE wordpress_e2e;\"",
"e2e:reset-db": "npm run e2e:docker-compose -- exec -T db_e2e mysql -u root --password=root_wordpress wordpress_e2e < cypress/data/wordpress_e2e_2020-04-06.sql",
"e2e:setup-env": "npm run e2e:down && npm run e2e:up && wait-on http://localhost:9000",
"pretest": "npm run clean-build && npm run e2e:setup-env",
"test": "npm run e2e:run",
"posttest": "npm run e2e:down",
"pretest:dev": "npm run e2e:setup-env && npm run e2e:reset-db",
"test:dev": "npm run e2e:open",
"lint": "eslint '**/*.ts' '**/*.tsx' '**/*.js'",
"tsc": "tsc",
"build": "NODE_ENV=production webpack",
"dev": "webpack --watch",
"archive": "zip -r ab-testing-for-wp.zip ./ -x 'node_modules/*' -x '.git/*' -x 'wp-content/*' -x 'blog/*' -x 'svn/*' -x '.idea/*' -x '*.DS_Store' -x '.wordpress-org/*'",
"clean": "rm -rf ./dist && rm -rf ab-testing-for-wp.zip",
"composer": "composer dump-autoload",
"bump-version": "sh scripts/bump.sh",
"release": "sh scripts/release.sh",
"clean-build": "npm run clean && npm run build",
"analyze": "webpack --json > stats.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Gaya/ab-testing-for-wp.git"
},
"author": "Gaya Kessler",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/Gaya/ab-testing-for-wp/issues"
},
"homepage": "https://github.com/Gaya/ab-testing-for-wp#readme",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@types/classnames": "^2.2.10",
"@types/react": "^16.9.34",
"@types/scroll-into-view": "^1.6.7",
"@types/shortid": "0.0.29",
"@types/wordpress__api-fetch": "^3.2.2",
"@types/wordpress__block-editor": "^2.2.6",
"@types/wordpress__blocks": "^6.4.5",
"@types/wordpress__components": "^8.5.0",
"@types/wordpress__compose": "^3.4.0",
"@types/wordpress__data": "^4.6.6",
"@types/wordpress__edit-post": "^3.5.1",
"@types/wordpress__i18n": "^3.4.0",
"@types/wordpress__plugins": "^2.3.4",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"css-loader": "^3.5.2",
"cypress": "^4.4.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"redux-multi": "^0.1.12",
"style-loader": "^1.1.2",
"typescript": "^3.8.3",
"wait-on": "^4.0.2",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"@cypress/webpack-preprocessor": "^4.1.5",
"@wordpress/api-fetch": "^3.12.0",
"@wordpress/block-editor": "^3.8.0",
"@wordpress/blocks": "^6.13.0",
"@wordpress/components": "^9.3.0",
"@wordpress/compose": "^3.12.0",
"@wordpress/data": "^4.15.0",
"@wordpress/edit-post": "^3.14.0",
"@wordpress/i18n": "^3.10.0",
"@wordpress/plugins": "^2.13.0",
"classnames": "^2.2.6",
"date-fns": "^2.12.0",
"query-string": "^6.12.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"scroll-into-view": "^1.14.2",
"shortid": "^2.2.15"
}
}