-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
74 lines (74 loc) · 1.68 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
{
"name": "gas-webpagetest",
"private": true,
"scripts": {
"create-gas": "node scripts/create.js",
"deploy": "run-s clean build push",
"push": "clasp push",
"clean": "rimraf dist",
"build": "webpack",
"test": "jest",
"test:updateSnapshot": "jest --updateSnapshot",
"postbuild": "cpx appsscript.json dist",
"prettier": "prettier --write \"**/*.{js,ts}\"",
"precommit": "lint-staged",
"postcommit": "git reset"
},
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@google/clasp": "~2.1",
"@types/google-apps-script": "^0.0.54",
"@types/jest": "^24.0.15",
"@types/node": "^12.0.10",
"core-js": "^3.1.4",
"cpx": "^1.5.0",
"cross-spawn": "^6.0.5",
"dotenv": "^8.0.0",
"dotenv-webpack": "^1.7.0",
"gas-webpack-plugin": "^1.0.2",
"husky": "^2.7.0",
"jest": "^24.8.0",
"lint-staged": "^8.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.4",
"typescript": "^3.5.2",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5"
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"prettier": {
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2,
"semi": false,
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"git add"
]
}
}