-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 2.73 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
{
"name": "{{snapfu.name}}",
"author": "{{snapfu.author}}",
"version": "0.1.0",
"license": "MIT",
"main": "index.js",
"private": true,
"scripts": {
"analyze": "webpack --config webpack.modern.js --analyze",
"analyze:universal": "webpack --config webpack.universal.js --analyze",
"build": "rm -rf ./dist && webpack --config webpack.modern.js && webpack --config webpack.universal.js",
"cypress": "cypress open --project tests",
"clean": "rm -rf ./node_modules && rm -f ./package-lock.json",
"dev": "kill $(lsof -ti:3333,8888); webpack serve --config webpack.dev.js",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"",
"lint": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\"",
"test": "kill $(lsof -ti:3333,8888); webpack serve --config webpack.dev.js & ((cypress run --project tests || cypress run --project tests) && kill $(lsof -ti:3333,8888))",
"lighthouse": "lhci --config ./tests/lighthouse/lighthouserc.js autorun",
"prepare": "husky install"
},
"searchspring": {
"siteId": {
"{{snapfu.siteId}}": {
"name": "{{snapfu.name}}"
}
},
"framework": "preact",
"updates": [
"all"
],
"tags": [],
"version": "0.63.1",
"scaffold": "snapfu-scaffold-preact"
},
"prettier": "@searchspring/prettier",
"dependencies": {
"@searchspring/snap-preact": "0.63.1",
"@searchspring/snap-preact-components": "0.63.1",
"mobx": "6.9.0",
"mobx-react": "7.6.0",
"preact": "10.9.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.21.0",
"@babel/plugin-transform-react-jsx": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.21.0",
"@lhci/cli": "^0.14.0",
"@searchspring/browserslist-config-snap": "^1.0.6",
"@searchspring/prettier": "^1.0.2",
"babel-loader": "^9.1.2",
"core-js": "^3.30.0",
"css-loader": "^6.7.3",
"cypress": "^13.7.1",
"eslint": "^8.37.0",
"eslint-plugin-react": "^7.32.2",
"file-loader": "^6.2.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.7",
"sass": "1.78.0",
"sass-loader": "^13.2.2",
"style-loader": "^3.3.2",
"webpack": "^5.77.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2",
"webpack-merge": "^5.8.0",
"cypress-fail-fast": "^7.1.0"
},
"lint-staged": {
"./package.json": [
"prettier --write"
],
"./src/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"browserslist": {
"modern": "extends @searchspring/browserslist-config-snap/modern",
"universal": "extends @searchspring/browserslist-config-snap/universal"
}
}