UNPKG

2.31 kBJSONView Raw
1{
2 "name": "spiritjs",
3 "version": "2.4.1",
4 "title": "Spirit",
5 "description": "The animation toolkit for the web",
6 "main": "dist/spirit.js",
7 "module": "lib/index.js",
8 "files": [
9 "spiritjs.d.ts",
10 "dist/",
11 "lib/"
12 ],
13 "scripts": {
14 "build": "npm run build:umd && npm run build:umd:min && npm run build:lib",
15 "build:umd": "webpack --progress",
16 "build:umd:watch": "webpack --progress -w",
17 "build:umd:min": "NODE_ENV=production webpack --progress",
18 "build:lib": "babel src --out-dir lib",
19 "build:lib:watch": "babel -w src --out-dir lib",
20 "analyse": "webpack src/index.js dist/spirit.js --json > stats.json",
21 "analyse:size": "webpack --json | webpack-bundle-size-analyzer",
22 "lint": "eslint .",
23 "test": "mocha",
24 "test:watch": " mocha -w",
25 "preversion": "npm test && npm run lint",
26 "version": "npm run build:umd && npm run build:umd:min && git add -A dist",
27 "postversion": "git push && git push --tags",
28 "prepublish": "npm test && npm run lint && npm run build",
29 "publish:beta": "npm publish --tag beta"
30 },
31 "homepage": "https://spiritapp.io",
32 "repository": {
33 "type": "git",
34 "url": "git+https://github.com/spirit/spirit.git"
35 },
36 "keywords": [
37 "spirit",
38 "spiritjs",
39 "animation"
40 ],
41 "author": "Patrick Brouwer <patrick@inlet.nl>",
42 "license": "MIT",
43 "bugs": {
44 "url": "https://github.com/spirit/spirit/issues"
45 },
46 "typings": "./spiritjs.d.ts",
47 "devDependencies": {
48 "@babel/cli": "7.4.4",
49 "@babel/core": "7.4.4",
50 "@babel/plugin-proposal-class-properties": "7.4.4",
51 "@babel/plugin-proposal-decorators": "7.4.4",
52 "@babel/plugin-proposal-object-rest-spread": "7.4.4",
53 "@babel/polyfill": "7.4.4",
54 "@babel/preset-env": "7.4.4",
55 "@babel/register": "7.4.4",
56 "babel-eslint": "10.0.1",
57 "babel-loader": "8.0.5",
58 "babel-plugin-inline-package-json": "2.0.0",
59 "chai": "4.2.0",
60 "core-js": "3",
61 "eslint": "5.16.0",
62 "eslint-config-standard": "12.0.0",
63 "eslint-plugin-promise": "4.1.1",
64 "eslint-plugin-standard": "4.0.0",
65 "jsdom": "15.0.0",
66 "mocha": "6.1.4",
67 "sinon": "7.3.2",
68 "webpack": "4.30.0",
69 "webpack-bundle-size-analyzer": "3.0.0",
70 "webpack-cli": "3.3.1"
71 },
72 "dependencies": {
73 "mitt": "^1.1.3"
74 }
75}