UNPKG

3.96 kBJSONView Raw
1{
2 "name": "p5",
3 "repository": "processing/p5.js",
4 "scripts": {
5 "grunt": "grunt",
6 "build": "grunt build",
7 "dev": "grunt browserify 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 "prepublish": "grunt build"
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.1.9",
36 "devDependencies": {
37 "@babel/core": "^7.7.7",
38 "@babel/preset-env": "^7.7.7",
39 "@babel/register": "^7.7.7",
40 "all-contributors-cli": "^5.11.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 "derequire": "^2.0.0",
49 "es6-promise": "^4.2.8",
50 "eslint": "^5.14.1",
51 "eslint-config-prettier": "2.7.0",
52 "eslint-plugin-prettier": "2.3.1",
53 "fetch-jsonp": "^1.1.3",
54 "file-saver": "^1.3.8",
55 "grunt": "^1.0.4",
56 "grunt-cli": "^1.3.2",
57 "grunt-contrib-clean": "^1.1.0",
58 "grunt-contrib-compress": "^1.6.0",
59 "grunt-contrib-connect": "^2.1.0",
60 "grunt-contrib-copy": "^1.0.0",
61 "grunt-contrib-uglify": "^4.0.1",
62 "grunt-contrib-watch": "^1.1.0",
63 "grunt-contrib-yuidoc": "1.0.0",
64 "grunt-eslint": "^20.2.0",
65 "grunt-minjson": "^0.4.0",
66 "grunt-mocha-test": "^0.13.3",
67 "grunt-newer": "^1.1.0",
68 "grunt-simple-nyc": "^3.0.1",
69 "html-entities": "^1.3.1",
70 "husky": "^4.2.3",
71 "i18next": "^19.0.2",
72 "i18next-browser-languagedetector": "^4.0.1",
73 "libtess": "^1.2.2",
74 "lint-staged": "^4.3.0",
75 "marked": "^0.7.0",
76 "mocha": "^6.2.2",
77 "np": "^5.2.1",
78 "omggif": "^1.0.10",
79 "open": "^7.0.3",
80 "opentype.js": "^0.9.0",
81 "prettier": "^1.7.4",
82 "promise-map-series": "^0.2.3",
83 "puppeteer": "^1.20.0",
84 "regenerator-runtime": "^0.13.3",
85 "release-it": "^12.6.2",
86 "request": "^2.88.0",
87 "simple-git": "^1.132.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 ],
99 "description": "[![npm version](https://badge.fury.io/js/p5.svg)](https://www.npmjs.com/package/p5)",
100 "bugs": {
101 "url": "https://github.com/processing/p5.js/issues"
102 },
103 "homepage": "https://github.com/processing/p5.js#readme",
104 "directories": {
105 "doc": "docs",
106 "test": "test"
107 },
108 "babel": {
109 "presets": [
110 "@babel/preset-env"
111 ],
112 "plugins": [
113 [
114 "i18next-extract",
115 {
116 "locales": [
117 "en",
118 "es"
119 ],
120 "outputPath": "translations/{{locale}}/{{ns}}.json",
121 "tFunctionNames": [
122 "translator"
123 ]
124 }
125 ]
126 ],
127 "generatorOpts": {
128 "retainLines": true
129 },
130 "env": {
131 "test": {
132 "plugins": [
133 [
134 "istanbul",
135 {
136 "include": [
137 "src/**/*.js"
138 ]
139 }
140 ]
141 ]
142 }
143 }
144 },
145 "browserslist": [
146 "last 2 versions",
147 "not dead"
148 ],
149 "author": "",
150 "dependencies": {},
151 "husky": {
152 "hooks": {
153 "pre-commit": "lint-staged"
154 }
155 }
156}