/
package.json
64 lines (64 loc) · 1.81 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
{
"name": "preact-starter",
"version": "0.0.0",
"private": true,
"description": "Minimal Preact, Typescript and Parcel starter.",
"author": "José Quintana <git.io/joseluisq>",
"license": "MIT",
"main": "public/index.html",
"scripts": {
"clean": "rm -rf dist .cache",
"prestart": "yarn clean",
"start": "env NODE_ENV=development parcel public/index.html",
"prebuild": "yarn lint && yarn clean",
"build": "env NODE_ENV=production parcel build --detailed-report --public-url ./ ./public/index.html",
"lint": "tslint --format stylish --project tsconfig.json",
"pretest": "yarn lint",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"linkstate": "^1.1.1",
"preact": "^8.3.1",
"unistore": "^3.1.0"
},
"devDependencies": {
"@types/jest": "^23.3.0",
"@types/node": "^10.9.4",
"autoprefixer": "^9.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.4.1",
"node-sass": "^4.9.2",
"parcel-bundler": "^1.10.0",
"parcel-plugin-sw-precache": "^1.0.3",
"parcel-plugin-typescript": "^1.0.0",
"ts-jest": "^23.0.1",
"tslint": "^5.11.0",
"tslint-config-standard-plus": "^2.1.1",
"typescript": "^2.9.2"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/test/**.spec.+(ts|tsx|js)"
],
"moduleNameMapper": {
"\\.(css|less|scss|sass|svg|png|jpg|jpeg|ttf|woff|woff2)$": "identity-obj-proxy",
"^@app/(.*)$": "<rootDir>/src/$1",
"^@components/(.*)$": "<rootDir>/src/components/$1",
"^@styles/(.*)$": "<rootDir>/src/styles/$1",
"^@public/(.*)$": "<rootDir>/public/$1",
"^@assets/(.*)$": "<rootDir>/public/assets/$1"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}