UNPKG

1.77 kBJSONView Raw
1{
2 "name": "dom-dom",
3 "version": "1.2.3",
4 "description": "JSX to actual DOM.",
5 "repository": {
6 "url": "egoist/dom-dom",
7 "type": "git"
8 },
9 "main": "dist/dom-dom.common.js",
10 "module": "dist/dom-dom.es.js",
11 "cdn": "dist/dom-dom.min.js",
12 "unpkg": "dist/dom-dom.min.js",
13 "files": [
14 "dist"
15 ],
16 "scripts": {
17 "test": "jest && npm run lint",
18 "lint": "xo",
19 "prepublish": "npm run build",
20 "build": "npm run build:all && npm run build:tiny",
21 "build:all": "bili --format cjs,es,umd,umd-compress --module-name d2 --banner",
22 "build:tiny": "bili src/tiny.js --format cjs,es,umd,umd-compress --module-name d2 --banner --name tiny"
23 },
24 "author": "egoist <0x142857@gmail.com> (https://github.com/egoist)",
25 "license": "MIT",
26 "babel": {
27 "env": {
28 "test": {
29 "presets": [
30 [
31 "env",
32 {
33 "targets": {
34 "node": "current"
35 }
36 }
37 ]
38 ],
39 "plugins": [
40 [
41 "transform-react-jsx",
42 {
43 "pragma": "h"
44 }
45 ]
46 ]
47 }
48 }
49 },
50 "dependencies": {},
51 "devDependencies": {
52 "babel-plugin-transform-react-jsx": "^6.24.1",
53 "babel-preset-env": "^1.4.0",
54 "bili": "^0.16.0-rc.2",
55 "eslint-config-rem": "^3.0.0",
56 "jest-cli": "^19.0.0",
57 "sinon": "^2.3.6",
58 "xo": "^0.18.0"
59 },
60 "xo": {
61 "extends": "rem/prettier",
62 "envs": [
63 "jest",
64 "browser"
65 ],
66 "rules": {
67 "no-warning-comments": 0,
68 "import/prefer-default-export": 0,
69 "guard-for-in": 0,
70 "eqeqeq": [
71 "error",
72 "always",
73 {
74 "null": "ignore"
75 }
76 ],
77 "no-eq-null": 0
78 }
79 }
80}