-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 6.74 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 6.74 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "happychat-client",
"version": "0.3.1",
"description": "",
"main": "./targets/npm/api.js",
"keywords": [],
"author": "",
"license": "GPL-3.0",
"browserslist": [
"last 2 versions",
"Safari >= 10",
"iOS >= 10",
"not ie <= 10",
"> 1%"
],
"scripts": {
"analyze-bundles": "NODE_ENV=analyze webpack -p --config webpack.standalone.config.js",
"postinstall": "node bin/fix-local-config",
"start": "run-p dev:standalone",
"dev:standalone": "run-p dev:standalone:*",
"dev:standalone:js": "NODE_ENV=development webpack-dev-server --config webpack.standalone.config.js",
"dev:standalone:css": "run-p dev:standalone:css:*",
"dev:standalone:css:main": "sass src/form.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/standalone/happychat.css",
"dev:standalone:css:woo": "sass src/ui/css/themes/_woo.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/standalone/woo.css",
"dev:standalone:css:jpop": "sass src/ui/css/themes/_jpop.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/standalone/jpop.css",
"dev:npm": "run-p dev:npm:*",
"dev:npm:js": "NODE_ENV=development babel --watch src --out-dir targets/npm",
"dev:npm:css": "run-p dev:npm:css:*",
"dev:npm:css:main": "sass src/form.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/npm/happychat.css",
"dev:npm:css:woo": "sass src/ui/css/themes/_woo.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/npm/woo.css",
"dev:npm:css:jpop": "sass src/ui/css/themes/_jpop.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/npm/jpop.css",
"dev:npm:serve-css": "NODE_ENV=development webpack-dev-server --config webpack.npm.config.js",
"dev:wordpress": "run-p dev:wordpress:*",
"dev:wordpress:js": "NODE_ENV=development webpack --config webpack.wordpress.config.js",
"dev:wordpress:css": "run-p dev:wordpress:css:*",
"dev:wordpress:css:main": "sass src/form.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/wordpress/happychat.css",
"dev:wordpress:css:woo": "sass src/ui/css/themes/_woo.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/wordpress/woo.css",
"dev:wordpress:css:jpop": "sass src/ui/css/themes/_jpop.scss | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/wordpress/jpop.css",
"dev:wordpress:serve-css": "npm run dev:wordpress:css && NODE_ENV=development webpack-dev-server --config webpack.wordpress.config.js",
"build": "run-p build:*",
"build:standalone": "run-p build:standalone:*",
"build:standalone:js": "NODE_ENV=production webpack --config webpack.standalone.config.js",
"build:standalone:css": "run-p build:standalone:css:*",
"build:standalone:css:main": "sass src/form.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/standalone/happychat.css",
"build:standalone:css:woo": "sass src/ui/css/themes/_woo.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/standalone/woo.css",
"build:standalone:css:jpop": "sass src/ui/css/themes/_jpop.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/standalone/jpop.css",
"build:npm": "run-p build:npm:*",
"build:npm:js": "NODE_ENV=production babel src --out-dir targets/npm",
"build:npm:css": "run-p build:npm:css:*",
"build:npm:css:main": "sass src/form.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/npm/happychat.css",
"build:npm:css:woo": "sass src/ui/css/themes/_woo.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/npm/woo.css",
"build:npm:css:jpop": "sass src/ui/css/themes/_jpop.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/npm/jpop.css",
"build:wordpress": "run-p build:wordpress:*",
"build:wordpress:js": "NODE_ENV=production webpack -p --config webpack.wordpress.config.js",
"build:wordpress:css": "run-p build:wordpress:css:*",
"build:wordpress:css:main": "sass src/form.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/wordpress/widget/happychat.css",
"build:wordpress:css:woo": "sass src/ui/css/themes/_woo.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/wordpress/widget/woo.css",
"build:wordpress:css:jpop": "sass src/ui/css/themes/_jpop.scss --style compressed | postcss --config postcss.config.json -u autoprefixer --no-map -o targets/wordpress/widget/jpop.css",
"test": "jest -c jest.config.json"
},
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-proposal-export-default-from": "7.2.0",
"@babel/plugin-proposal-export-namespace-from": "7.2.0",
"@babel/plugin-transform-runtime": "7.4.4",
"@babel/polyfill": "7.4.4",
"@babel/preset-env": "7.4.5",
"@babel/preset-react": "7.0.0",
"@babel/register": "7.4.4",
"autoprefixer": "6.3.5",
"babel-loader": "8.0.6",
"babel-plugin-inline-json": "1.2.2",
"babel-plugin-module-resolver": "3.1.1",
"babel-preset-env": "1.7.0",
"core-js": "2.6.8",
"deep-freeze": "0.0.1",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.13.1",
"enzyme-to-json": "3.3.0",
"eslint": "3.8.1",
"eslint-config-wpcalypso": "1.2.0",
"eslint-plugin-react": "7.1.0",
"eslint-plugin-wpcalypso": "3.4.1",
"events": "1.0.2",
"install": "0.12.2",
"jest": "24.8.0",
"npm": "6.9.0",
"npm-run-all": "4.0.2",
"postcss-cli": "6.1.2",
"postcss-custom-properties": "6.2.0",
"prettier": "github:automattic/calypso-prettier#503d7779",
"react-test-renderer": "16.4.1",
"regenerator-runtime": "0.13.2",
"uglifyjs-webpack-plugin": "1.2.7",
"webpack": "4.32.2",
"webpack-bundle-analyzer": "3.3.2",
"webpack-cli": "3.3.2",
"webpack-dev-server": "3.4.1",
"webpack-merge": "4.2.1"
},
"dependencies": {
"@babel/plugin-transform-react-display-name": "7.2.0",
"classnames": "2.2.6",
"create-react-class": "15.7.0",
"gridicons": "3.0.1",
"interpolate-components": "1.1.1",
"lodash": "4.17.21",
"prop-types": "15.6.2",
"react": "16.4.1",
"react-dom": "16.4.1",
"react-pure-render": "1.0.2",
"react-redux": "5.0.7",
"redux": "4.0.0",
"redux-devtools-extension": "2.13.5",
"sass": "1.55.0",
"socket.io-client": "2.1.1",
"uuid": "^8.3.2",
"wpcom-oauth-cors": "1.0.1",
"wpcom-xhr-request": "1.1.3"
}
}