-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.32 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
{
"name": "meraki-js-sdk",
"version": "1.4.5",
"author": "Patrick Organ <patrick@mraki.io>",
"description": "Meraki Javascript SDK",
"license": "MIT",
"keywords": [
"meraki",
"generative art",
"art",
"sdk",
"framework"
],
"repository": {
"type": "git",
"url": "https://github.com/merakigenart/meraki-js-sdk.git"
},
"bugs": {
"url": "https://github.com/merakigenart/meraki-js-sdk/issues"
},
"main": "./dist/sdk.cjs.js",
"typings": "./dist/sdk.d.ts",
"module": "./dist/sdk.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs.js"
},
"./sdk": {
"import": "./dist/sdk.js",
"require": "./dist/sdk.cjs.js"
}
},
"scripts": {
"analyze:deps:circular": "node_modules/.bin/madge --extensions js,ts --circular --ts-config ./tsconfig.json src/**",
"analyze:deps:list": "node_modules/.bin/madge --extensions js,ts --ts-config ./tsconfig.json src/**",
"analyze:deps:graph": "node_modules/.bin/madge --extensions js,ts --image graph.svg --layout dot --ts-config ./tsconfig.json src/**",
"test": "./node_modules/.bin/jest tests --verbose",
"test:coverage": "./node_modules/.bin/jest tests --coverage",
"fmt": "./node_modules/.bin/prettier --config prettier.config.js --write 'src/**/*.{js,ts,json,yml,yaml}' 'tests/**/*.{js,ts,json,yml,yaml}' './*.{js,yml,yaml,json}'",
"lint": "./node_modules/.bin/eslint --ext ts,js src/",
"lint:fix": "./node_modules/.bin/eslint --ext ts,js --fix src/",
"lint:staged": "./node_modules/.bin/lint-staged",
"fix": "npm run fmt && npm run lint:fix",
"build:dev:cli": "./node_modules/.bin/esbuild --platform=node --target=node16 --define:__APP_VERSION__=\"'1.0'\" --format=cjs --bundle --outdir=dist src/index.ts",
"build:dts": "dts-bundle-generator -o ./dist/sdk.d.ts ./src/sdk.ts",
"build:dev": "node ./scripts/build.js",
"build:prod": "node ./scripts/build.js --production",
"build:all": "npm run build:prod",
"dev": "npm run build:dev && node dist/index.js",
"preversion": "npm run test",
"postversion": "npm run build:all && npm run build:dts",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts}": [
"./node_modules/.bin/prettier --config prettier.config.js --write",
"./node_modules/.bin/eslint --fix"
],
"*.{json,css,scss,gql}": [
"./node_modules/.bin/prettier --config prettier.config.js --write"
],
"*.{yaml,yml}": [
"./node_modules/.bin/prettier --config prettier.config.js --tab-width 2 --write"
]
},
"devDependencies": {
"@types/jest": "^29.1.2",
"@types/node": "^20.1.0",
"@types/p5": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"dts-bundle-generator": "^8.0.1",
"esbuild": "^0.19.2",
"eslint": "^8.25.0",
"husky": "^8.0.1",
"jest": "^29.1.2",
"lint-staged": "^13.0.3",
"madge": "^6.0.0",
"p5": "^1.6.0",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"typescript": "^5.0"
}
}