-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
115 lines (115 loc) · 3.29 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@typeform/api-client",
"version": "0.0.0-semantic-released",
"description": "JS SDK for Typeform API",
"scripts": {
"test:unit": "jest ./tests/unit",
"test:unit:watch": "jest ./tests/unit --watch",
"test:integration": "jest ./tests/integration",
"test:integration:watch": "jest ./tests/integration --watch",
"build": "rm -rf ./dist && rollup -c",
"prepublish": "in-publish && npm run build || not-in-publish",
"prepare": "npm run build",
"lint": "eslint . --max-warnings=0",
"lint-staged": "lint-staged",
"prettier": "prettier --write . --ignore-path .eslintignore",
"release": "npm config set @typeform:registry https://registry.npmjs.org/ && yarn semantic-release",
"server": "node ./tests/integration/mockServer.js",
"server:dev": "nodemon ./tests/integration/mockServer.js",
"publish:github": "npm config set @typeform:registry https://npm.pkg.github.com/ && npm publish",
"typeform-api": "node ./dist/bin"
},
"bin": {
"typeform-api": "dist/bin"
},
"main": "dist/index.cjs.js",
"browser": "dist/typeform-api.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=12"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Typeform/js-api-client.git"
},
"keywords": [
"sdk",
"typeform",
"js"
],
"contributors": [
"Jepser Bernardino",
"Michael Solati <[email protected]>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/Typeform/js-api-client/issues"
},
"homepage": "https://github.com/Typeform/js-api-client#readme",
"files": [
"dist/**",
"LICENSE.md",
"package.json",
"package-lock.json",
"README.md",
"yarn.lock"
],
"dependencies": {
"axios": "^1.7.5"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/github": "^9.2.4",
"@semantic-release/npm": "^11.0.1",
"@typeform/eslint-config": "^6.0.3",
"@types/jest": "^24.0.18",
"axios-mock-adapter": "^1.22.0",
"eslint": "^8.43.0",
"husky": "^4.0.0-beta.1",
"in-publish": "^2.0.0",
"jest": "^28.1.0",
"json-server": "^0.15.1",
"lint-staged": "^13.2.2",
"nodemon": "^1.19.2",
"nyc": "^17.0.0",
"prettier": "^2.8.8",
"rollup": "^1.21.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-copier": "^1.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.24.1",
"semantic-release": "^17.0.7",
"ts-jest": "^28.0.8",
"tslib": "^2.6.2",
"typescript": "^4.9.5"
},
"jest": {
"automock": false,
"testEnvironmentOptions": {
"url": "http://localhost/"
},
"preset": "ts-jest"
},
"prettier": "@typeform/eslint-config/prettier",
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --max-warnings=0"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}