UNPKG

4.09 kBJSONView Raw
1{
2 "name": "p5",
3 "repository": "processing/p5.js",
4 "scripts": {
5 "grunt": "grunt",
6 "build": "grunt build",
7 "dev": "grunt yui browserify:dev connect:yui watch:quick",
8 "docs": "grunt yui",
9 "docs:dev": "grunt yui:dev",
10 "test": "grunt",
11 "lint": "grunt lint-no-fix",
12 "lint:source": "grunt lint-no-fix:source",
13 "lint:samples": "grunt lint-no-fix:samples",
14 "lint:fix": "grunt lint-fix",
15 "contributors:add": "all-contributors add",
16 "contributors:generate": "all-contributors generate",
17 "generate": "all-contributors generate",
18 "release": "grunt release-p5",
19 "prepublishOnly": "grunt prerelease"
20 },
21 "lint-staged": {
22 "ignore": [
23 "test/js/**/*.js"
24 ],
25 "Gruntfile.js": "eslint",
26 "docs/preprocessor.js": "eslint",
27 "utils/**/*.js": "eslint",
28 "tasks/**/*.js": "eslint",
29 "test/**/*.js": "eslint",
30 "src/**/*.js": [
31 "eslint",
32 "node --require @babel/register ./utils/sample-linter.js"
33 ]
34 },
35 "version": "1.4.2",
36 "devDependencies": {
37 "@babel/core": "^7.7.7",
38 "@babel/preset-env": "^7.10.2",
39 "@babel/register": "^7.7.7",
40 "all-contributors-cli": "^6.19.0",
41 "babel-plugin-i18next-extract": "^0.5.0",
42 "babel-plugin-istanbul": "^5.2.0",
43 "babel-plugin-static-fs": "^1.2.1",
44 "babelify": "^10.0.0",
45 "browserify": "^16.5.0",
46 "chai": "^3.5.0",
47 "connect-modrewrite": "^0.10.1",
48 "core-js": "^3.6.5",
49 "derequire": "^2.0.0",
50 "es6-promise": "^4.2.8",
51 "eslint": "^5.14.1",
52 "eslint-config-prettier": "2.7.0",
53 "eslint-plugin-prettier": "2.3.1",
54 "fetch-jsonp": "^1.1.3",
55 "file-saver": "^1.3.8",
56 "grunt": "^1.0.4",
57 "grunt-cli": "^1.3.2",
58 "grunt-contrib-clean": "^1.1.0",
59 "grunt-contrib-compress": "^1.6.0",
60 "grunt-contrib-connect": "^2.1.0",
61 "grunt-contrib-copy": "^1.0.0",
62 "grunt-contrib-uglify": "^4.0.1",
63 "grunt-contrib-watch": "^1.1.0",
64 "grunt-contrib-yuidoc": "1.0.0",
65 "grunt-eslint": "^20.2.0",
66 "grunt-minjson": "^0.4.0",
67 "grunt-mocha-test": "^0.13.3",
68 "grunt-newer": "^1.1.0",
69 "grunt-simple-nyc": "^3.0.1",
70 "html-entities": "^1.3.1",
71 "husky": "^4.2.3",
72 "i18next": "^19.0.2",
73 "i18next-browser-languagedetector": "^4.0.1",
74 "libtess": "^1.2.2",
75 "lint-staged": "^4.3.0",
76 "marked": "^4.0.10",
77 "mocha": "^6.2.2",
78 "np": "^5.2.1",
79 "omggif": "^1.0.10",
80 "open": "^7.0.3",
81 "opentype.js": "^0.9.0",
82 "prettier": "^1.7.4",
83 "promise-map-series": "^0.2.3",
84 "puppeteer": "^10.2.0",
85 "regenerator-runtime": "^0.13.3",
86 "request": "^2.88.0",
87 "simple-git": "^3.3.0",
88 "whatwg-fetch": "^2.0.4"
89 },
90 "license": "LGPL-2.1",
91 "main": "./lib/p5.min.js",
92 "files": [
93 "license.txt",
94 "lib/p5.min.js",
95 "lib/p5.js",
96 "lib/addons/p5.sound.js",
97 "lib/addons/p5.sound.min.js",
98 "translations/**"
99 ],
100 "description": "[![npm version](https://badge.fury.io/js/p5.svg)](https://www.npmjs.com/package/p5)",
101 "bugs": {
102 "url": "https://github.com/processing/p5.js/issues"
103 },
104 "homepage": "https://github.com/processing/p5.js#readme",
105 "directories": {
106 "doc": "docs",
107 "test": "test"
108 },
109 "babel": {
110 "presets": [
111 [
112 "@babel/preset-env",
113 {
114 "useBuiltIns": "usage",
115 "corejs": 3
116 }
117 ]
118 ],
119 "plugins": [
120 [
121 "i18next-extract",
122 {
123 "locales": [
124 "en",
125 "es"
126 ],
127 "outputPath": "translations/{{locale}}/{{ns}}.json",
128 "tFunctionNames": [
129 "translator"
130 ]
131 }
132 ]
133 ],
134 "generatorOpts": {
135 "retainLines": true
136 },
137 "env": {
138 "test": {
139 "plugins": [
140 [
141 "istanbul",
142 {
143 "include": [
144 "src/**/*.js"
145 ]
146 }
147 ]
148 ]
149 }
150 }
151 },
152 "browserslist": [
153 "last 2 versions",
154 "not dead"
155 ],
156 "author": "",
157 "dependencies": {},
158 "husky": {
159 "hooks": {
160 "pre-commit": "lint-staged"
161 }
162 }
163}