This repository has been archived by the owner on Aug 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 4.93 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
{
"name": "aliemu.com",
"version": "2.6.3",
"license": "MIT",
"repository": "https://github.com/aliemteam/ALiEMU",
"scripts": {
"lint:scss": "stylelint \"src/**/*.scss\"",
"lint:ts": "eslint --ext .ts,.tsx src",
"lint": "npm run lint:scss && npm run lint:ts",
"pretest": "npm run lint",
"test": "jest --coverage",
"test:ci": "npm run lint && npm run test -- --runInBand && npm run build && bundlesize",
"view-coverage": "$(test $(uname) == Linux && echo xdg-open || echo open) ./node_modules/.cache/coverage/lcov-report/index.html",
"up": "docker-compose up -d && docker-compose logs -f wordpress",
"down": "docker-compose down -v",
"build": "TS_NODE_PROJECT=./tsconfig.node.json TS_NODE_FILES=true webpack --mode production",
"build:dev": "TS_NODE_PROJECT=./tsconfig.node.json TS_NODE_FILES=true webpack --mode development",
"start": "npm run build:dev -- --watch",
"prestats": "TS_NODE_PROJECT=./tsconfig.node.json TS_NODE_FILES=true webpack --mode production --profile --json > ./node_modules/.cache/stats.json",
"stats": "npx webpack-bundle-analyzer ./node_modules/.cache/stats.json ./dist",
"sync": "./scripts/sync.sh"
},
"broserslist": [
"extends @wordpress/browserslist-config"
],
"bundlesize": [
{
"path": "./dist/js/*.js",
"maxSize": "170 kB"
}
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!**/{vendor,__tests__}/**"
],
"coverageDirectory": "node_modules/.cache/coverage",
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.node.json"
}
},
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy",
"^(utils|components)/(.*)$": "<rootDir>/src/js/$1/$2"
},
"modulePathIgnorePatterns": [
"<rootDir>/wp-content/"
],
"preset": "ts-jest",
"setupFiles": [
"<rootDir>/scripts/jest.setup.js"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testURL": "http://localhost"
},
"prettier": "@dsifford/prettier-config",
"dependencies": {
"@wordpress/dom-ready": "^2.5.1",
"@wordpress/element": "^2.10.0",
"@wordpress/html-entities": "^2.5.0",
"@wordpress/url": "^2.9.0",
"classnames": "^2.2.6",
"datalist-polyfill": "^1.23.3",
"dayjs": "^1.8.18",
"lodash": "^4.17.15",
"normalize.css": "^8.0.1",
"react": "^16.12.0",
"react-content-loader": "^4.3.3",
"react-dom": "^16.12.0",
"react-spring": "^8.0.27",
"striptags": "^3.1.1",
"typescript": "^3.7.4"
},
"devDependencies": {
"@dsifford/eslint-config": "^0.7.6",
"@dsifford/prettier-config": "^0.4.14",
"@dsifford/stylelint-config": "^0.4.18",
"@svgr/webpack": "^4.3.3",
"@types/browser-sync-webpack-plugin": "^2.2.0",
"@types/classnames": "^2.2.9",
"@types/copy-webpack-plugin": "^5.0.0",
"@types/dotenv": "^8.2.0",
"@types/enzyme": "^3.10.4",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/googlemaps": "^3.38.1",
"@types/grecaptcha": "^3.0.0",
"@types/imagemin": "^7.0.0",
"@types/imagemin-svgo": "^7.0.0",
"@types/jest": "^24.0.24",
"@types/lodash": "^4.14.149",
"@types/mini-css-extract-plugin": "^0.8.0",
"@types/node": "^12.12.21",
"@types/react": "^16.9.17",
"@types/react-addons-test-utils": "^0.14.25",
"@types/react-content-loader": "^4.0.0",
"@types/react-dom": "^16.9.4",
"@types/react-test-renderer": "^16.9.1",
"@types/rimraf": "^2.0.3",
"@types/webpack": "^4.41.0",
"@types/wordpress__dependency-extraction-webpack-plugin": "^1.0.0",
"@types/wordpress__dom-ready": "^2.3.0",
"@types/wordpress__element": "^2.4.0",
"@types/wordpress__html-entities": "^2.3.0",
"@types/wordpress__url": "^2.3.0",
"@wordpress/babel-preset-default": "^4.8.0",
"@wordpress/browserslist-config": "^2.6.0",
"@wordpress/dependency-extraction-webpack-plugin": "^2.1.0",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.6",
"browser-sync": "^2.26.7",
"browser-sync-webpack-plugin": "^2.2.2",
"bundlesize": "^0.18.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.0",
"cssnano": "^4.1.10",
"dotenv": "^8.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"identity-obj-proxy": "^3.0.0",
"imagemin": "^7.0.1",
"imagemin-pngquant": "^8.0.0",
"imagemin-svgo": "^7.0.0",
"jest": "^24.9.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.13.0",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.19.1",
"react-addons-test-utils": "^15.6.2",
"react-test-renderer": "^16.12.0",
"rimraf": "^3.0.0",
"sass-loader": "^8.0.0",
"snapshot-diff": "^0.6.1",
"stylelint": "^12.0.0",
"stylelint-scss": "^3.13.0",
"ts-jest": "^24.2.0",
"ts-node": "^8.5.4",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10",
"webpack-fix-style-only-entries": "^0.4.0"
}
}