/
package.json
79 lines (79 loc) · 2.41 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
{
"name": "show-simplex-cli",
"version": "1.2.0",
"description": "A CLI that displays an ASCII representation of simplex noise in your terminal",
"homepage": "https://github.com/neefrehman/show-simplex-cli",
"bugs": {
"url": "https://github.com/neefrehman/show-simplex-cli/issues"
},
"author": "Neef Rehman",
"license": "MIT",
"files": [
"lib/**/*"
],
"main": "lib/index.js",
"bin": {
"show-simplex": "./lib/index.js"
},
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/neefrehman/show-simplex-cli.git"
},
"keywords": [
"generative coding",
"creative coding",
"cli",
"node"
],
"dependencies": {
"chalk": "^4.1.0",
"commander": "^6.2.0",
"make-matrix": "^1.2.1",
"nice-color-palettes": "^3.0.0",
"simplex-noise": "^2.4.0"
},
"devDependencies": {
"@types/node": "^14.14.10",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"eslint": "^7.14.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"nodemon": "^2.0.6",
"prettier": "^2.2.1",
"ts-node": "^9.1.0",
"typescript": "^4.1.2"
},
"scripts": {
"format": "prettier \"src/**/*.{js,ts,tsx}\"",
"format:fix": "prettier \"src/**/*.{js,ts,tsx}\" --write",
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --fix",
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"create": "npm run build && npm run test",
"build": "tsc -p .",
"test": "sudo npm i -g && pizza",
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
"prepare": "npm run build",
"prepublishOnly": "npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"lint-staged": {
"*.(js|ts|tsx)": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}