|
1 | 1 | {
|
2 | 2 | "name": "libreact",
|
3 |
| - "version": "0.5.9", |
| 3 | + "version": "0.5.11", |
4 | 4 | "description": "React standard library",
|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "repository": {
|
7 | 7 | "type": "git",
|
8 | 8 | "url": "https://github.com/MailOnline/libreact.git"
|
9 | 9 | },
|
| 10 | + "scripts": { |
| 11 | + "clean": "rimraf lib modules && npm run test:story:clean && npm run docs:clean", |
| 12 | + "build": "npm run clean && gulp build-ts && gulp build-modules", |
| 13 | + "start": "npm run test:story", |
| 14 | + "semantic-release": "semantic-release", |
| 15 | + "test": "npm run test:server && npm run test:client", |
| 16 | + "test:server": "mocha -r ts-node/register src/**/*.test-server.ts*", |
| 17 | + "test:client": "jest", |
| 18 | + "test:client:coverage": "jest --coverage", |
| 19 | + "test:watch": "jest --watch", |
| 20 | + "test:story:clean": "rimraf storybook-static", |
| 21 | + "test:story": "start-storybook -p 6007", |
| 22 | + "test:story:build": "build-storybook", |
| 23 | + "docs:clean": "rimraf dist_docs docs/_book", |
| 24 | + "docs:serve": "npm run docs:clean && gitbook install ./docs && gitbook serve ./docs", |
| 25 | + "docs:build": "npm run docs:clean && gitbook install ./docs && gitbook build ./docs", |
| 26 | + "docs:publish": "npm run test:story:build && npm run docs:build && ./build/publish-docs.sh" |
| 27 | + }, |
10 | 28 | "dependencies": {
|
11 | 29 | "throttle-debounce": "^1.0.1",
|
12 | 30 | "freestyler-context": "^1.3.3",
|
|
62 | 80 | "path": "./node_modules/mol-conventional-changelog"
|
63 | 81 | }
|
64 | 82 | },
|
65 |
| - "scripts": { |
66 |
| - "clean": "rimraf lib modules && npm run test:story:clean && npm run docs:clean", |
67 |
| - "build": "npm run clean && gulp build-ts && gulp build-modules", |
68 |
| - "start": "npm run test:story", |
69 |
| - "semantic-release": "semantic-release", |
70 |
| - "test": "npm run test:server && npm run test:client", |
71 |
| - "test:server": "mocha -r ts-node/register src/**/*.test-server.ts*", |
72 |
| - "test:client": "jest", |
73 |
| - "test:client:coverage": "jest --coverage", |
74 |
| - "test:watch": "jest --watch", |
75 |
| - "test:story:clean": "rimraf storybook-static", |
76 |
| - "test:story": "start-storybook -p 6007", |
77 |
| - "test:story:build": "build-storybook", |
78 |
| - "docs:clean": "rimraf dist_docs docs/_book", |
79 |
| - "docs:serve": "npm run docs:clean && gitbook install ./docs && gitbook serve ./docs", |
80 |
| - "docs:build": "npm run docs:clean && gitbook install ./docs && gitbook build ./docs", |
81 |
| - "docs:publish": "npm run test:story:build && npm run docs:build && ./build/publish-docs.sh" |
82 |
| - }, |
83 | 83 | "jest": {
|
84 | 84 | "moduleFileExtensions": [
|
85 | 85 | "ts",
|
|
102 | 102 | },
|
103 | 103 | "keywords": [
|
104 | 104 | "react",
|
| 105 | + "lib", |
105 | 106 | "libreact",
|
106 | 107 | "stdlib",
|
107 | 108 | "hoc",
|
|
0 commit comments