-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·142 lines (142 loc) · 4.58 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
{
"name": "rca",
"version": "0.0.0",
"author": "Torchbox Ltd",
"private": true,
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": ""
},
"browserslist": [
"> 0.5% and last 2 versions",
"Firefox ESR",
"ios_saf 11",
"ios_saf 12",
"safari 11",
"not ie 11",
"not ie_mob 11",
"not android 4.4.3-4.4.4",
"not OperaMini all"
],
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/static_compiled/",
"/venv/"
],
"collectCoverageFrom": [
"**/rca/static_src/javascript/**/*.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/rca/static_src/javascript/tests"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"<rootDir>/rca/static_src/javascript/tests/environment.js"
],
"setupFilesAfterEnv": [
"<rootDir>/rca/static_src/javascript/tests/setupTests.js"
]
},
"config": {
"src_js": "./rca/static_src/javascript",
"src_css": "./rca/static_src/sass",
"src_img": "./rca/static_src/images",
"src_font": "./rca/static_src/fonts",
"dest_js": "./rca/static_compiled/js",
"dest_css": "./rca/static_compiled/css",
"dest_img": "./rca/static_compiled/images",
"dest_font": "./rca/static_compiled/fonts",
"dist": "./rca/static_compiled"
},
"scripts": {
"//[ Utility ]//": "",
"clean": "npm_package_config_dist=\"${npm_package_config_dist:-./rca/static_compiled}\" && rm -rf $npm_package_config_dist/*",
"//[ Webpack build ]//": "",
"compile:watch": "webpack --mode development --progress --watch",
"compile:reload": "webpack-dev-server",
"//[ Linting & formatting ]//": "",
"lint:css": "stylelint $npm_package_config_src_css'/**/**' && stylelint --report-needless-disables $npm_package_config_src_css'/**/**'",
"lint:js": "eslint --report-unused-disable-directives .",
"lint:format": "prettier --check '**/?(.)*.{md,css,scss,js,json,yaml,yml}'",
"lint": "npm-run-all -p lint:format lint:js lint:css",
"format": "prettier --write '**/?(.)*.{md,css,scss,js,json,yaml,yml}'",
"//[ Tests ]//": "",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"//[ Watches ]//": "",
"watch:js": "onchange $npm_package_config_dest_js'/**/**' -- npm run lint:js",
"watch:css": "onchange $npm_package_config_dest_css -- npm run lint:css",
"watch": "npm-run-all -p watch:*",
"//[ Build tasks ]//": "",
"build": "npm run clean && webpack --mode development --progress",
"build:prod": "npm run clean && webpack --mode production",
"start": "npm-run-all clean -p compile:watch watch --silent",
"start:reload": "npm-run-all clean -p compile:reload watch --silent"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"autoprefixer": "^9.7.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"browser-sync": "^2.27.7",
"css-loader": "^3.4.1",
"cssnano": "^4.1.10",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-config-torchbox": "^0.3.2",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^1.7.0",
"jest": "^24.9.0",
"mini-css-extract-plugin": "^0.7.0",
"npm-run-all": "^4.1.5",
"onchange": "^6.1.0",
"postcss-custom-properties": "^9.0.2",
"postcss-loader": "^3.0.0",
"prettier": "^1.19.1",
"sass": "^1.24.2",
"sass-loader": "^7.3.1",
"stylelint": "^13.13.1",
"stylelint-config-torchbox": "^1.0.0",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"@babel/polyfill": "^7.7.0",
"@glidejs/glide": "^3.4.1",
"@reduxjs/toolkit": "^1.8.0",
"alpinejs": "^3.8.1",
"copy-webpack-plugin": "^5.1.2",
"focus-trap": "^5.1.0",
"headroom.js": "^0.9.4",
"intersection-observer": "^0.7.0",
"js-cookie": "^2.2.1",
"lodash.debounce": "^4.0.8",
"micromodal": "^0.4.2",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.1.3",
"react-transition-group": "^4.3.0",
"react-use": "^13.14.0",
"rellax": "^1.10.0",
"rsync": "^0.6.1",
"scrollama": "^2.1.4",
"vanilla-lazyload": "^12.4.0"
}
}