-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
95 lines (95 loc) · 2.35 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
{
"name": "@sanity/image-url",
"version": "1.1.0",
"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": {
"@sanity/client": "^6.22.2",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.18",
"jest": "^27.5.1",
"microbundle": "^0.15.1",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0",
"typescript": "^4.5.5"
},
"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"
]
}