forked from sanity-io/image-url
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.33 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
{
"name": "@gogaille/sanity-image-url",
"version": "0.140.22-fork",
"description": "Tools to generate image urls from Sanity content",
"source": "src/builder.ts",
"main": "lib/node/index.js",
"browser": "lib/browser/image-url.umd.js",
"umd:main": "lib/browser/image-url.umd.js",
"typings": "lib/types/index.d.ts",
"files": [
"lib",
"index.js",
"urlForImage.js"
],
"sideEffects": false,
"amdName": "SanityImageUrlBuilder",
"scripts": {
"prepublishOnly": "npm run build",
"prebuild": "rimraf lib coverage .rts2*",
"build": "npm run build:node && npm run build:browser",
"build:node": "tsc -m commonjs",
"build:browser": "microbundle build -i src/browser.ts -o lib/browser -f umd,es --no-compress",
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"posttest": "npm run lint"
},
"engines": {
"node": ">=10.0.0"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testURL": "http://localhost",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"bracketSpacing": false,
"printWidth": 100
},
"author": "Sanity.io <[email protected]>",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/jest": "^25.2.1",
"@types/node": "^13.13.5",
"jest": "^26.0.1",
"microbundle": "^0.12.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^25.5.1",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.8.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/image-url.git"
},
"bugs": {
"url": "https://github.com/sanity-io/image-url/issues"
},
"homepage": "https://www.sanity.io/",
"directories": {
"test": "test"
},
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"image-url"
]
}