-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 1.75 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
{
"name": "hyperapptemplate",
"version": "0.1.0",
"private": true,
"dependencies": {
"hyperapp": "^1.1.2"
},
"scripts": {
"start": "cross-env NODE_ENV=development parcel index.html --out-dir build",
"test": "npm-run-all -s --silent lint unittest e2etest",
"build": "npm-run-all test createbuild",
"createbuild": "cross-env NODE_ENV=production parcel build index.html --public-url /",
"lint": "npm-run-all -s prettier tslint",
"prettier": "prettier-standard 'src/**/*.ts' 'src/**/*.tsx' 'src/**/*.js' 'cypress/**/*.js' 'cypress/**/*.ts'",
"unittest": "jest --no-cache",
"e2etest": "start-server-and-test start http://localhost:1234 cy:run",
"cy:open": "cypress open",
"cy:run": "cypress run --config videoRecording=false",
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts*'"
},
"devDependencies": {
"@types/jest": "^22.1.4",
"babel-preset-env": "^1.6.1",
"cross-env": "^5.1.1",
"cypress": "^2.1.0",
"hyperapp-render": "^1.1.0",
"jest": "^22.2.2",
"jest-css-modules": "^1.1.0",
"npm-run-all": "^4.1.2",
"parcel-bundler": "^1.6.2",
"parcel-plugin-typescript": "^0.7.0",
"prettier-standard": "^8.0.0",
"snazzy": "^7.1.0",
"start-server-and-test": "^1.0.1",
"ts-jest": "^22.4.1",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.9.0",
"tslint-config-standard": "^7.0.0",
"typescript": "~2.6.1"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"\\.(css)$": "<rootDir>/node_modules/jest-css-modules"
}
}
}