-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
77 lines (77 loc) · 3.65 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
{
"name": "@automattic/crowdsignal-forms",
"version": "1.7.2",
"description": "Crowdsignal powered forms for WordPress",
"main": "index.js",
"scripts": {
"build:apifetch": "wp-scripts build --output-library=crowdsignalForms --output-library=apiFetch --output-library-export=default apifetch=./client/apifetch/index.js",
"watch:apifetch": "wp-scripts start --output-library=crowdsignalForms --output-library=apiFetch apifetch=./client/apifetch/index.js",
"build:editor": "wp-scripts build ./client/editor.js",
"build:poll": "wp-scripts build ./client/poll.js",
"build:vote": "wp-scripts build ./client/vote.js",
"build:applause": "wp-scripts build ./client/applause.js",
"build:nps": "wp-scripts build ./client/nps.js",
"build:feedback": "wp-scripts build ./client/feedback.js",
"build:styles:editor": "node-sass --include-path client --output-style compressed assets/stylesheets/editor.scss build/editor.css",
"build:styles:poll": "node-sass --include-path client --output-style compressed assets/stylesheets/poll.scss build/poll.css",
"build:styles:vote": "node-sass --include-path client --output-style compressed assets/stylesheets/vote.scss build/vote.css",
"build:styles:applause": "node-sass --include-path client --output-style compressed assets/stylesheets/applause.scss build/applause.css",
"build:styles:nps": "node-sass --include-path client --output-style compressed assets/stylesheets/nps.scss build/nps.css",
"build:styles:feedback": "node-sass --include-path client --output-style compressed assets/stylesheets/feedback.scss build/feedback.css",
"build:styles": "npm run build:styles:editor && npm run build:styles:poll && npm run build:styles:vote && npm run build:styles:applause && npm run build:styles:nps && npm run build:styles:feedback",
"watch:editor": "wp-scripts start ./client/editor.js",
"watch:poll": "wp-scripts start ./client/poll.js",
"watch:applause": "wp-scripts start ./client/applause.js",
"watch:nps": "wp-scripts start ./client/nps.js",
"watch:feedback": "wp-scripts start ./client/feedback.js",
"format:js": "wp-scripts format-js ./client",
"lint:js": "wp-scripts lint-js ./client",
"lint:styles": "wp-scripts lint-style ./assets/stylesheets ./client/**/*.scss",
"lint:all": "npm run lint:js && npm run lint:styles",
"test": "wp-scripts test-unit-js ./client",
"build": "wp-scripts build ./client/editor.js ./client/poll.js ./client/applause.js ./client/vote.js ./client/feedback.js ./client/nps.js && pnpm build:apifetch && pnpm run build:styles",
"analyze": "wp-scripts build ./client/poll.js --webpack-bundle-analyzer"
},
"repository": {
"type": "git",
"url": "git+https://github.com/automattic/crowdsignal-forms.git"
},
"author": "Automattic",
"license": "GPL-2.0+",
"bugs": {
"url": "https://github.com/automattic/crowdsignal-forms/issues"
},
"homepage": "https://github.com/automattic/crowdsignal-forms#readme",
"devDependencies": {
"@babel/runtime": "^7.21.0",
"@wordpress/scripts": "^26.11.0",
"clean-webpack-plugin": "^4.0.0",
"eslint-import-resolver-webpack": "^0.13.2",
"extends": "link:@babel/runtime/helpers/extends",
"node-sass": "^7.0.3",
"prop-types": "^15.8.1",
"webpack": "^5.88.2"
},
"jest": {
"modulePaths": [
"client"
],
"moduleNameMapper": {
"@wordpress/blocks": "<rootDir>/tests-js/mocks/blocks.js",
"@wordpress/i18n": "<rootDir>/tests-js/mocks/i18n.js"
}
},
"dependencies": {
"classnames": "^2.3.2",
"fast-deep-equal": "^3.1.3",
"js-cookie": "^3.0.5",
"react-transition-group": "^4.4.5",
"reakit": "^1.3.11",
"seedrandom": "^3.0.5",
"uuid": "^9.0.0"
},
"engines": {
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}