This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 2.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
{
"name": "@guardian/libs",
"version": "0.0.0-this-never-updates-in-source-code-refer-to-git-tags",
"private": false,
"description": "A collection of JavaScript libraries for Guardian projects",
"homepage": "https://github.com/guardian/libs#readme",
"bugs": {
"url": "https://github.com/guardian/libs/issues"
},
"repository": "https://github.com/guardian/libs.git",
"license": "Apache-2.0",
"author": "Guardian developers",
"sideEffects": false,
"main": "dist/cjs/index.js",
"unpkg": "dist/umd/index.min.js",
"module": "dist/esm/index.js",
"source": "src/index.ts",
"types": "dist/esm/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "npm-run-all clean --parallel compile:*",
"clean": "rm -rf dist",
"compile:common": "tsc --project ./tsconfig.build.json --outDir ./dist/cjs --module CommonJS",
"compile:esm": "tsc --project ./tsconfig.build.json --outDir ./dist/esm",
"compile:umd": "rollup -c",
"lint": "eslint . --ext .js,.ts",
"prepush:test": "jest --runInBand --onlyChanged --coverage=false",
"test": "jest",
"tsc": "tsc --noEmit",
"validate": "npm-run-all tsc lint test build"
},
"husky": {
"hooks": {
"pre-push": "npm-run-all prepush:*"
}
},
"devDependencies": {
"@guardian/eslint-config": "0.4.2",
"@guardian/eslint-config-typescript": "0.4.2",
"@guardian/prettier": "0.4.2",
"@rollup/plugin-typescript": "8.1.1",
"@semantic-release/github": "7.2.0",
"@types/jest": "26.0.20",
"@types/node-fetch": "2.5.8",
"@typescript-eslint/eslint-plugin": "4.14.2",
"@typescript-eslint/parser": "4.14.2",
"eslint": "7.19.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.3",
"eslint-plugin-prettier": "3.3.1",
"husky": "4.3.8",
"jest": "26.6.3",
"jest-environment-jsdom-sixteen": "1.0.3",
"jest-fetch-mock": "3.0.3",
"node-fetch": "2.6.1",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"rollup": "2.38.4",
"rollup-plugin-size": "0.2.2",
"rollup-plugin-terser": "7.0.2",
"semantic-release": "17.4.2",
"ts-jest": "26.5.0",
"tslib": "2.1.0",
"typescript": "4.1.3"
},
"publishConfig": {
"access": "public"
}
}