This repository has been archived by the owner on Jul 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
69 lines (69 loc) · 1.89 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
{
"name": "ts-preact-starter",
"version": "1.0.0",
"description": "Barebones starter project for Preact with TypeScript",
"main": "index.js",
"author": "Nick Taylor <nick@iamdeveloper.com>",
"license": "MIT",
"keywords": [
"preact",
"react",
"typescript",
"boilerplate"
],
"engines": {
"node": ">=8"
},
"scripts": {
"prebuild": "CI=1 npm i cypress",
"build": "webpack --mode=production",
"postbuild": "http-server -p 8080 ./dist & npm run e2e && fkill -f :8080",
"start": "webpack-dev-server --mode=development --progress --config ./webpack.config.ts",
"test": "jest",
"test:watch": "npm run test -- --watch",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"e2e": "[ ! -z \"$DEPLOY_URL\" ] && cypress run || echo 'e2e only runs on Netlify'",
"e2e:dev": "CYPRESS_baseUrl=http://localhost:9000 cypress open"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/preprocessor.js"
},
"testRegex": "/__tests__/.*\\.(ts|tsx|js)$"
},
"devDependencies": {
"@babel/core": "7.8.6",
"@storybook/addon-actions": "5.1.11",
"@storybook/addon-links": "5.1.11",
"@storybook/addons": "5.1.11",
"@storybook/preact": "5.1.11",
"@types/jest": "25.1.3",
"@types/webpack": "4.41.7",
"@types/webpack-dev-server": "3.10.0",
"babel-loader": "8.0.6",
"cypress": "3.8.1",
"fkill-cli": "5.2.0",
"html-webpack-plugin": "3.2.0",
"http-server": "0.12.1",
"jest": "25.1.0",
"preact-compat": "3.19.0",
"ts-loader": "6.2.1",
"ts-node": "8.6.2",
"tslint": "6.0.0",
"tslint-loader": "3.5.4",
"typescript": "3.8.3",
"webpack": "4.41.5",
"webpack-cli": "3.3.10",
"webpack-dev-server": "3.10.2"
},
"dependencies": {
"preact": "8.5.3",
"tslib": "1.11.1"
}
}