UNPKG

1.96 kBJSONView Raw
1{
2 "name": "@sanity/structure",
3 "version": "0.140.30",
4 "description": "Build a navigation structure programatically",
5 "main": "./lib/index.js",
6 "types": "./lib/index.d.ts",
7 "author": "Sanity.io <hello@sanity.io>",
8 "engines": {
9 "node": ">=8.0.0"
10 },
11 "license": "MIT",
12 "scripts": {
13 "test": "jest",
14 "posttest": "tsc --noEmit",
15 "clean": "rimraf lib coverage"
16 },
17 "keywords": [
18 "sanity",
19 "cms",
20 "headless",
21 "realtime",
22 "content",
23 "structure",
24 "check"
25 ],
26 "publishConfig": {
27 "access": "public"
28 },
29 "dependencies": {
30 "@types/lodash": "^4.14.116",
31 "@types/memoize-one": "^3.1.1",
32 "@types/node": "^8.0.0",
33 "lodash": "^4.17.4",
34 "memoize-one": "^3.1.1"
35 },
36 "devDependencies": {
37 "@types/jest": "^22.0.0",
38 "jest": "^23.6.0",
39 "rimraf": "^2.6.2",
40 "rxjs": "^6.1.0",
41 "ts-jest": "^22.4.3",
42 "typescript": "^3.2.2"
43 },
44 "repository": {
45 "type": "git",
46 "url": "git+https://github.com/sanity-io/sanity.git"
47 },
48 "bugs": {
49 "url": "https://github.com/sanity-io/sanity/issues"
50 },
51 "homepage": "https://www.sanity.io/",
52 "jest": {
53 "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$",
54 "testURL": "http://localhost",
55 "transform": {
56 "^.+\\.ts$": "ts-jest"
57 },
58 "moduleFileExtensions": [
59 "ts",
60 "js",
61 "json",
62 "node"
63 ],
64 "moduleNameMapper": {
65 "^part:@sanity/base/schema$": "<rootDir>/test/mocks/schema.js",
66 "^part:@sanity/base/client$": "<rootDir>/test/mocks/client.js",
67 "^part:@sanity/data-aspects/resolver$": "<rootDir>/test/mocks/dataAspects.js",
68 "^part:@sanity/base/.*?-icon$": "<rootDir>/test/mocks/icon.js",
69 "^part:@sanity/base/util/document-action-utils": "<rootDir>/test/mocks/documentActionUtils.js"
70 },
71 "coveragePathIgnorePatterns": [
72 "/node_modules/",
73 "/test/"
74 ]
75 },
76 "gitHead": "874ee7e88eb7a0f3c6c9935f2f742f0eebc457d1"
77}